Android.Content.RestrictionsManager.ActionRequestPermission Field
Broadcast intent sent to the Restrictions Provider to handle a permission request from an app.

Syntax

[Android.Runtime.Register("ACTION_REQUEST_PERMISSION")]
public const string ActionRequestPermission

Remarks

Broadcast intent sent to the Restrictions Provider to handle a permission request from an app. It will have the following extras: RestrictionsManager.ExtraPackageName, RestrictionsManager.ExtraRequestType, RestrictionsManager.ExtraRequestId and RestrictionsManager.ExtraRequestBundle. The Restrictions Provider will handle the request and respond back to the RestrictionsManager, when a response is available, by calling RestrictionsManager.NotifyPermissionResponse(string, Android.OS.PersistableBundle).

The BroadcastReceiver must require the NoType:android/Manifest$permission;Href=../../../reference/android/Manifest.permission.html#BIND_DEVICE_ADMIN permission to ensure that only the system can send the broadcast.

[Android Documentation]

Requirements

Namespace: Android.Content
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0