Compartilhar via


MPMediaLibrary.RequestAuthorizationAsync Método

Definição

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

Retornos

Uma tarefa que representa a operação RequestAuthorization assíncrona. O valor do parâmetro TResult é do tipo System.Action<MediaPlayer.MPMediaLibraryAuthorizationStatus>.

Atributos

Aplica-se a