Udostępnij za pośrednictwem


Permissions.ShouldShowRationale<TPermission> Method

Definition

Gets whether you should show UI with rationale for requesting a permission.

public static bool ShouldShowRationale<TPermission> () where TPermission : Xamarin.Essentials.Permissions.BasePermissionnew();

Type Parameters

TPermission

The type of permission.

Returns

System.Boolean

Returns true if rationale should be displayed, otherwise false.

Applies to