Android.Content.RestrictionsManager Members

The members of Android.Content.RestrictionsManager are listed below.

See Also: Inherited members from Java.Lang.Object

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Public Fields

const
ActionPermissionResponseReceivedstring. Broadcast intent delivered when a response is received for a permission request.
const
ActionRequestLocalApprovalstring. Activity intent that is optionally implemented by the Restrictions Provider package to challenge for an administrator PIN or password locally on the device.
const
ActionRequestPermissionstring. Broadcast intent sent to the Restrictions Provider to handle a permission request from an app.
const
ExtraPackageNamestring. The package name of the application making the request.
const
ExtraRequestBundlestring. The request bundle passed in the RestrictionsManager.ActionRequestPermission broadcast.
const
ExtraRequestIdstring. The request ID passed in the RestrictionsManager.ActionRequestPermission broadcast.
const
ExtraRequestTypestring. The request type passed in the RestrictionsManager.ActionRequestPermission broadcast.
const
ExtraResponseBundlestring. Contains a response from the administrator for specific request.
const
MetaDataAppRestrictionsstring. Name of the meta-data entry in the manifest that points to the XML file containing the application's available restrictions.
const
RequestKeyApproveLabelstring. Key for request approval button label contained in the request bundle.
const
RequestKeyDatastring. Key for request data contained in the request bundle.
const
RequestKeyDenyLabelstring. Key for request rejection button label contained in the request bundle.
const
RequestKeyIconstring. Key for request icon contained in the request bundle.
const
RequestKeyIdstring. Key for request ID contained in the request bundle.
const
RequestKeyMessagestring. Key for request message contained in the request bundle.
const
RequestKeyNewRequeststring. Key for issuing a new request, contained in the request bundle.
const
RequestKeyTitlestring. Key for request title contained in the request bundle.
const
RequestTypeApprovalstring. Request type for a simple question, with a possible title and icon.
const
ResponseKeyErrorCodestring. Key for the optional error code in the response bundle sent to the application.
const
ResponseKeyMessagestring. Key for the optional message in the response bundle sent to the application.
const
ResponseKeyResponseTimestampstring. Key for the optional timestamp of when the administrator responded to the permission request.
const
ResponseKeyResultstring. Key for the response result in the response bundle sent to the application, for a permission request.

Public Properties

[read-only]
ApplicationRestrictionsAndroid.OS.Bundle. Returns any available set of application-specific restrictions applicable to this application.
[read-only]
HasRestrictionsProviderbool. Called by an application to check if there is an active Restrictions Provider.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

CreateLocalApprovalIntent() : Intent
GetManifestRestrictions(string) : IList<RestrictionEntry>
Parse and return the list of restrictions defined in the manifest for the specified package, if any.
NotifyPermissionResponse(string, Android.OS.PersistableBundle)
Called by the Restrictions Provider to deliver a response to an application.
RequestPermission(string, string, Android.OS.PersistableBundle)
Called by an application to request permission for an operation.