Bewerken

Delen via


MPMediaLibrary.RequestAuthorization Method

Definition

[Foundation.Export("requestAuthorization:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 3, ObjCRuntime.PlatformArchitecture.All, null)]
public static void RequestAuthorization (Action<MediaPlayer.MPMediaLibraryAuthorizationStatus> handler);
static member RequestAuthorization : Action<MediaPlayer.MPMediaLibraryAuthorizationStatus> -> unit

Parameters

Attributes

Applies to