MPMediaLibrary.RequestAuthorizationAsync Method
Definition
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.
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 3, ObjCRuntime.PlatformArchitecture.All, null)]
public static System.Threading.Tasks.Task<MediaPlayer.MPMediaLibraryAuthorizationStatus> RequestAuthorizationAsync ();
static member RequestAuthorizationAsync : unit -> System.Threading.Tasks.Task<MediaPlayer.MPMediaLibraryAuthorizationStatus>
Returns
A task that represents the asynchronous RequestAuthorization operation. The value of the TResult parameter is of type System.Action<MediaPlayer.MPMediaLibraryAuthorizationStatus>.
- Attributes