Java android.content RestrictionsManager fields, constructors, methods, implement or subclass

Example usage for Java android.content RestrictionsManager fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for android.content RestrictionsManager.

The text is from its open source code.

Method

BundleconvertRestrictionsToBundle(List entries)
Converts a list of restrictions to the corresponding bundle, using the following mapping:
RestrictionEntryBundle
RestrictionEntry#TYPE_BOOLEAN Bundle#putBoolean
RestrictionEntry#TYPE_CHOICE , RestrictionEntry#TYPE_MULTI_SELECT Bundle#putStringArray
RestrictionEntry#TYPE_INTEGER Bundle#putInt
RestrictionEntry#TYPE_STRING Bundle#putString
RestrictionEntry#TYPE_BUNDLE Bundle#putBundle
RestrictionEntry#TYPE_BUNDLE_ARRAY Bundle#putParcelableArray
BundlegetApplicationRestrictions()
Returns any available set of application-specific restrictions applicable to this application.
ListgetManifestRestrictions(String packageName)
Parse and return the list of restrictions defined in the manifest for the specified package, if any.