Class RestrictionsManager
public class RestrictionsManager : JVMBridgeBase<RestrictionsManager>, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition
- Inheritance
-
RestrictionsManager
- Implements
- Extension Methods
Constructors
RestrictionsManager(IJVMBridgeBaseInitializer)
Initializer used internally by JCOBridge. Do not use directly.
[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public RestrictionsManager(IJVMBridgeBaseInitializer initializer)
Parameters
initializerIJVMBridgeBaseInitializer
Properties
ACTION_PERMISSION_RESPONSE_RECEIVED
public static String ACTION_PERMISSION_RESPONSE_RECEIVED { get; set; }
Property Value
ACTION_REQUEST_LOCAL_APPROVAL
public static String ACTION_REQUEST_LOCAL_APPROVAL { get; set; }
Property Value
ACTION_REQUEST_PERMISSION
public static String ACTION_REQUEST_PERMISSION { get; set; }
Property Value
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
Property Value
EXTRA_PACKAGE_NAME
public static String EXTRA_PACKAGE_NAME { get; set; }
Property Value
EXTRA_REQUEST_BUNDLE
public static String EXTRA_REQUEST_BUNDLE { get; set; }
Property Value
EXTRA_REQUEST_ID
public static String EXTRA_REQUEST_ID { get; set; }
Property Value
EXTRA_REQUEST_TYPE
public static String EXTRA_REQUEST_TYPE { get; set; }
Property Value
EXTRA_RESPONSE_BUNDLE
public static String EXTRA_RESPONSE_BUNDLE { get; set; }
Property Value
IsBridgeAbstract
true if the BridgeClassName is an abstract class, i.e. cannot be created an instance
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
true if the BridgeClassName implements java.lang.AutoCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
true if the BridgeClassName is an interface, i.e. does not have any public constructor
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
true if the BridgeClassName is a static class, i.e. does not have any public constructor
public override bool IsBridgeStatic { get; }
Property Value
META_DATA_APP_RESTRICTIONS
public static String META_DATA_APP_RESTRICTIONS { get; set; }
Property Value
REQUEST_KEY_APPROVE_LABEL
public static String REQUEST_KEY_APPROVE_LABEL { get; set; }
Property Value
REQUEST_KEY_DATA
public static String REQUEST_KEY_DATA { get; set; }
Property Value
REQUEST_KEY_DENY_LABEL
public static String REQUEST_KEY_DENY_LABEL { get; set; }
Property Value
REQUEST_KEY_ICON
public static String REQUEST_KEY_ICON { get; set; }
Property Value
REQUEST_KEY_ID
public static String REQUEST_KEY_ID { get; set; }
Property Value
REQUEST_KEY_MESSAGE
https://developer.android.com/reference/android/content/RestrictionsManager.html#REQUEST_KEY_MESSAGE
public static String REQUEST_KEY_MESSAGE { get; set; }
Property Value
REQUEST_KEY_NEW_REQUEST
public static String REQUEST_KEY_NEW_REQUEST { get; set; }
Property Value
REQUEST_KEY_TITLE
public static String REQUEST_KEY_TITLE { get; set; }
Property Value
REQUEST_TYPE_APPROVAL
public static String REQUEST_TYPE_APPROVAL { get; set; }
Property Value
RESPONSE_KEY_ERROR_CODE
public static String RESPONSE_KEY_ERROR_CODE { get; set; }
Property Value
RESPONSE_KEY_MESSAGE
public static String RESPONSE_KEY_MESSAGE { get; set; }
Property Value
RESPONSE_KEY_RESPONSE_TIMESTAMP
public static String RESPONSE_KEY_RESPONSE_TIMESTAMP { get; set; }
Property Value
RESPONSE_KEY_RESULT
https://developer.android.com/reference/android/content/RestrictionsManager.html#RESPONSE_KEY_RESULT
public static String RESPONSE_KEY_RESULT { get; set; }
Property Value
RESULT_APPROVED
public static int RESULT_APPROVED { get; set; }
Property Value
RESULT_DENIED
public static int RESULT_DENIED { get; set; }
Property Value
RESULT_ERROR
public static int RESULT_ERROR { get; set; }
Property Value
RESULT_ERROR_BAD_REQUEST
public static int RESULT_ERROR_BAD_REQUEST { get; set; }
Property Value
RESULT_ERROR_INTERNAL
public static int RESULT_ERROR_INTERNAL { get; set; }
Property Value
RESULT_ERROR_NETWORK
public static int RESULT_ERROR_NETWORK { get; set; }
Property Value
RESULT_NO_RESPONSE
public static int RESULT_NO_RESPONSE { get; set; }
Property Value
RESULT_UNKNOWN_REQUEST
public static int RESULT_UNKNOWN_REQUEST { get; set; }
Property Value
Methods
ConvertRestrictionsToBundle(List<RestrictionEntry>)
public static Bundle ConvertRestrictionsToBundle(List<RestrictionEntry> arg0)
Parameters
arg0List<RestrictionEntry>
Returns
CreateLocalApprovalIntent()
public Intent CreateLocalApprovalIntent()
Returns
GetApplicationRestrictions()
public Bundle GetApplicationRestrictions()
Returns
GetApplicationRestrictionsPerAdmin()
public List<Bundle> GetApplicationRestrictionsPerAdmin()
Returns
GetManifestRestrictions(String)
public List<RestrictionEntry> GetManifestRestrictions(String arg0)
Parameters
Returns
HasRestrictionsProvider()
public bool HasRestrictionsProvider()
Returns
NotifyPermissionResponse(String, PersistableBundle)
public void NotifyPermissionResponse(String arg0, PersistableBundle arg1)
Parameters
arg0Stringarg1PersistableBundle
RequestPermission(String, String, PersistableBundle)
public void RequestPermission(String arg0, String arg1, PersistableBundle arg2)
Parameters
arg0Stringarg1Stringarg2PersistableBundle