Compartir a través de


RestrictionsManager.ActionPermissionResponseReceived Field

Definition

Broadcast intent delivered when a response is received for a permission request.

[Android.Runtime.Register("ACTION_PERMISSION_RESPONSE_RECEIVED")]
public const string ActionPermissionResponseReceived;
[<Android.Runtime.Register("ACTION_PERMISSION_RESPONSE_RECEIVED")>]
val mutable ActionPermissionResponseReceived : string

Field Value

Attributes

Remarks

Broadcast intent delivered when a response is received for a permission request. The application should not interrupt the user by coming to the foreground if it isn't currently in the foreground. It can either post a notification informing the user of the response or wait until the next time the user launches the app.

For instance, if the user requested permission to make an in-app purchase, the app can post a notification that the request had been approved or denied.

The broadcast Intent carries the following extra: #EXTRA_RESPONSE_BUNDLE.

Java documentation for android.content.RestrictionsManager.ACTION_PERMISSION_RESPONSE_RECEIVED.

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