Share via


SKCloudServiceController.RequestAuthorizationAsync Method

Definition

Requests permission from the user to access the device's music library.

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static System.Threading.Tasks.Task<StoreKit.SKCloudServiceAuthorizationStatus> RequestAuthorizationAsync();
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member RequestAuthorizationAsync : unit -> System.Threading.Tasks.Task<StoreKit.SKCloudServiceAuthorizationStatus>

Returns

A task that represents the asynchronous RequestAuthorization operation. The value of the TResult parameter is of type System.Action<StoreKit.SKCloudServiceAuthorizationStatus>.

Attributes

Applies to