CKContainer.RequestApplicationPermissionAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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>.