RestrictionsManager.NotifyPermissionResponse Method

Definition

Called by the Restrictions Provider to deliver a response to an application.

[Android.Runtime.Register("notifyPermissionResponse", "(Ljava/lang/String;Landroid/os/PersistableBundle;)V", "GetNotifyPermissionResponse_Ljava_lang_String_Landroid_os_PersistableBundle_Handler")]
public virtual void NotifyPermissionResponse (string? packageName, Android.OS.PersistableBundle? response);
[<Android.Runtime.Register("notifyPermissionResponse", "(Ljava/lang/String;Landroid/os/PersistableBundle;)V", "GetNotifyPermissionResponse_Ljava_lang_String_Landroid_os_PersistableBundle_Handler")>]
abstract member NotifyPermissionResponse : string * Android.OS.PersistableBundle -> unit
override this.NotifyPermissionResponse : string * Android.OS.PersistableBundle -> unit

Parameters

packageName
String

the application to deliver the response to. Cannot be null.

response
PersistableBundle

the bundle containing the response status, request ID and other information. Cannot be null.

Attributes

Exceptions

if any of the required parameters are missing.

Remarks

Called by the Restrictions Provider to deliver a response to an application.

Java documentation for android.content.RestrictionsManager.notifyPermissionResponse(java.lang.String, android.os.PersistableBundle).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to