Partager via


RestrictionsManager.ActionRequestLocalApproval Field

Definition

Activity intent that is optionally implemented by the Restrictions Provider package to challenge for an administrator PIN or password locally on the device.

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

Field Value

Attributes

Remarks

Activity intent that is optionally implemented by the Restrictions Provider package to challenge for an administrator PIN or password locally on the device. Apps will call this intent using Activity#startActivityForResult. On a successful response, Activity#onActivityResult will return a resultCode of Activity#RESULT_OK.

The intent must contain #EXTRA_REQUEST_BUNDLE as an extra and the bundle must contain at least #REQUEST_KEY_MESSAGE for the activity to display.

Java documentation for android.content.RestrictionsManager.ACTION_REQUEST_LOCAL_APPROVAL.

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

See also