Share via


Permissions.BasePermission.RequestAsync Method

Definition

Request a specific permission from the user.

public abstract System.Threading.Tasks.Task<Xamarin.Essentials.PermissionStatus> RequestAsync ();

Returns

System.Threading.Tasks.Task<PermissionStatus>

The status of the permission that was requested.

Remarks

The request will be prompted to the user if it hasn't been granted. iOS only allows the permission to be requested once, any additional requests will return immediatelly.

Applies to