Context.ShouldShowRequestPermissionRationale(String) 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.
Gets whether you should show UI with rationale before requesting a permission.
[Android.Runtime.Register("shouldShowRequestPermissionRationale", "(Ljava/lang/String;)Z", "GetShouldShowRequestPermissionRationale_Ljava_lang_String_Handler", ApiSince=37)]
public virtual bool ShouldShowRequestPermissionRationale(string permission);
[<Android.Runtime.Register("shouldShowRequestPermissionRationale", "(Ljava/lang/String;)Z", "GetShouldShowRequestPermissionRationale_Ljava_lang_String_Handler", ApiSince=37)>]
abstract member ShouldShowRequestPermissionRationale : string -> bool
override this.ShouldShowRequestPermissionRationale : string -> bool
Parameters
- permission
- String
A permission your app wants to request.
Returns
Whether you should show permission rationale UI.
- Attributes