Edytuj

Udostępnij za pośrednictwem


CKContainer.RequestApplicationPermissionAsync Method

Definition

Triggers the system UX for asking the user's permission for the requested applicationPermission.

public virtual System.Threading.Tasks.Task<CloudKit.CKApplicationPermissionStatus> RequestApplicationPermissionAsync (CloudKit.CKApplicationPermissions applicationPermission);
abstract member RequestApplicationPermissionAsync : CloudKit.CKApplicationPermissions -> System.Threading.Tasks.Task<CloudKit.CKApplicationPermissionStatus>
override this.RequestApplicationPermissionAsync : CloudKit.CKApplicationPermissions -> System.Threading.Tasks.Task<CloudKit.CKApplicationPermissionStatus>

Parameters

applicationPermission
CKApplicationPermissions

Returns

A task that represents the asynchronous RequestApplicationPermission operation. The value of the TResult parameter is of type System.Action<CloudKit.CKApplicationPermissionStatus,Foundation.NSError>.

Applies to