Partager via


MPMediaLibrary.RequestAuthorizationAsync Méthode

Définition

[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>

Retours

Tâche qui représente l’opération RequestAuthorization asynchrone. La valeur du paramètre TResult est de type System.Action<MediaPlayer.MPMediaLibraryAuthorizationStatus>.

Attributs

S’applique à