Permissions.CheckStatusAsync<TPermission> 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.
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.