Microsoft.Maui.Media Namespace
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides interfaces, classes and supporting types to work with media across all supported platforms. E.g. pick an image, take a screenshot, use text-to-speech, etc.
Classes
Locale |
Represents a specific geographical, political, or cultural region. |
MediaPicker |
The MediaPicker API lets a user pick or take a photo or video on the device. |
MediaPickerOptions |
Pick options for picking media from the device. |
Screenshot |
The Screenshot API lets you take a capture of the current displayed screen of the app. |
ScreenshotExtensions |
This class contains static extension methods for use with IScreenshot. |
SpeechOptions |
Represents options that can be used to influence the ITextToSpeech behavior. |
TextToSpeech |
The TextToSpeech API enables an application to utilize the built-in text-to-speech engines to speak back text from the device and also to query available languages that the engine can support. |
UnitConverters |
Static class with built-in unit converters. |
Interfaces
IMediaPicker |
The MediaPicker API lets a user pick or take a photo or video on the device. |
IPlatformScreenshot |
Provides abstractions for the platform screenshot methods when using Screenshot. |
IScreenshot |
The Screenshot API lets you take a capture of the current displayed screen of the app. |
IScreenshotResult |
A representation of a screenshot, as a result of a screenshot captured by the user. |
ITextToSpeech |
The TextToSpeech API enables an application to utilize the built-in text-to-speech engines to speak back text from the device and also to query available languages that the engine can support. |
Enums
ScreenshotFormat |
The possible formats for reading screenshot images. |
Remarks
The functionality in this namespace is formerly known as (Xamarin) Essentials.