Back to results for “Platform Integration”
.NET MAUI › Platform Integration & Handlers

What is MAUI Essentials and what does it provide?

Beginner

Answer

The former Xamarin.Essentials APIs are built into MAUI (Microsoft.Maui.Devices, .Storage, .Media, etc.). They give cross-platform access to device features—Geolocation, Connectivity, Preferences, SecureStorage, Battery, Sensors, Clipboard, Sharing—behind a unified API so you don't call native code directly for common tasks.
var location = await Geolocation.Default.GetLocationAsync();
bool online = Connectivity.Current.NetworkAccess == NetworkAccess.Internet;
Real-world example An app checks connectivity and reads GPS with two lines instead of separate Android and iOS location APIs.

Common follow-ups: Do Essentials need permissions? | Which namespace holds device APIs?