Share via


Intent.ActionGetRestrictionEntries Field

Definition

Broadcast to a specific application to query any supported restrictions to impose on restricted users.

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

Field Value

Implements

Attributes

Remarks

Broadcast to a specific application to query any supported restrictions to impose on restricted users. The broadcast intent contains an extra #EXTRA_RESTRICTIONS_BUNDLE with the currently persisted restrictions as a Bundle of key/value pairs. The value types can be Boolean, String or String[] depending on the restriction type.<p/> The response should contain an extra #EXTRA_RESTRICTIONS_LIST, which is of type ArrayList&lt;RestrictionEntry&gt;. It can also contain an extra #EXTRA_RESTRICTIONS_INTENT, which is of type Intent. The activity specified by that intent will be launched for a result which must contain one of the extras #EXTRA_RESTRICTIONS_LIST or #EXTRA_RESTRICTIONS_BUNDLE. The keys and values of the returned restrictions will be persisted.

Java documentation for android.content.Intent.ACTION_GET_RESTRICTION_ENTRIES.

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