Udostępnij za pośrednictwem


Permissions.CheckStatusAsync<TPermission> Method

Definition

Checks the status of a specific permission.

public static System.Threading.Tasks.Task<Xamarin.Essentials.PermissionStatus> CheckStatusAsync<TPermission> () where TPermission : Xamarin.Essentials.Permissions.BasePermissionnew();

Type Parameters

TPermission

The permission to check.

Returns

System.Threading.Tasks.Task<PermissionStatus>

The current status of the permission.

Applies to