Table of Contents

Class DevicePolicyManager

Namespace
Android.App.Admin
Assembly
MASES.Netdroid.dll
public class DevicePolicyManager : JVMBridgeBase<DevicePolicyManager>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
JVMBridgeBase
JVMBridgeBase<DevicePolicyManager>
DevicePolicyManager
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<DevicePolicyManager>.IsAssignableFrom(IJavaType)
JVMBridgeBase<DevicePolicyManager>.IsAssignableFrom<T>()
JVMBridgeBase<DevicePolicyManager>.Execute<T>(params T[])
JVMBridgeBase<DevicePolicyManager>.DynBridgeClazz
JVMBridgeBase<DevicePolicyManager>.BridgeClazz
JVMBridgeBase.RuntimeClassNameOf<T>()
JVMBridgeBase.ClassNameOf<T>()
JVMBridgeBase.ClassOf<T>()
JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)
JVMBridgeBase.MonitorEnter()
JVMBridgeBase.MonitorExit()
JVMBridgeBase.IsInstanceOf(IJavaType)
JVMBridgeBase.IsInstanceOf<T>()
JVMBridgeBase.RuntimeIsInstanceOf<T>()
JVMBridgeBase.CastTo<TNewClass>()
JVMBridgeBase.CastDirect<TNewClass>()
JVMBridgeBase.Dispose()
JVMBridgeBase.ToString()
JVMBridgeBase.GetHashCode()
JVMBridgeBase.Notify()
JVMBridgeBase.NotifyAll()
JVMBridgeBase.Wait()
JVMBridgeBase.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.IsBridgeListener
Extension Methods

Constructors

DevicePolicyManager()

Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge

public DevicePolicyManager()

DevicePolicyManager(params object[])

Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class

public DevicePolicyManager(params object[] args)

Parameters

args object[]

Properties

ACTION_ADD_DEVICE_ADMIN

public static String ACTION_ADD_DEVICE_ADMIN { get; }

Property Value

String

ACTION_ADMIN_POLICY_COMPLIANCE

public static String ACTION_ADMIN_POLICY_COMPLIANCE { get; }

Property Value

String

ACTION_APPLICATION_DELEGATION_SCOPES_CHANGED

public static String ACTION_APPLICATION_DELEGATION_SCOPES_CHANGED { get; }

Property Value

String

ACTION_CHECK_POLICY_COMPLIANCE

public static String ACTION_CHECK_POLICY_COMPLIANCE { get; }

Property Value

String

ACTION_DEVICE_ADMIN_SERVICE

public static String ACTION_DEVICE_ADMIN_SERVICE { get; }

Property Value

String

ACTION_DEVICE_FINANCING_STATE_CHANGED

public static String ACTION_DEVICE_FINANCING_STATE_CHANGED { get; }

Property Value

String

ACTION_DEVICE_OWNER_CHANGED

public static String ACTION_DEVICE_OWNER_CHANGED { get; }

Property Value

String

ACTION_DEVICE_POLICY_RESOURCE_UPDATED

public static String ACTION_DEVICE_POLICY_RESOURCE_UPDATED { get; }

Property Value

String

ACTION_GET_PROVISIONING_MODE

public static String ACTION_GET_PROVISIONING_MODE { get; }

Property Value

String

ACTION_MANAGED_PROFILE_PROVISIONED

public static String ACTION_MANAGED_PROFILE_PROVISIONED { get; }

Property Value

String

ACTION_PROFILE_OWNER_CHANGED

public static String ACTION_PROFILE_OWNER_CHANGED { get; }

Property Value

String

ACTION_PROVISIONING_SUCCESSFUL

public static String ACTION_PROVISIONING_SUCCESSFUL { get; }

Property Value

String

ACTION_PROVISION_MANAGED_DEVICE

[Obsolete]
public static String ACTION_PROVISION_MANAGED_DEVICE { get; }

Property Value

String

ACTION_PROVISION_MANAGED_PROFILE

public static String ACTION_PROVISION_MANAGED_PROFILE { get; }

Property Value

String

ACTION_SET_NEW_PARENT_PROFILE_PASSWORD

public static String ACTION_SET_NEW_PARENT_PROFILE_PASSWORD { get; }

Property Value

String

ACTION_SET_NEW_PASSWORD

public static String ACTION_SET_NEW_PASSWORD { get; }

Property Value

String

ACTION_START_ENCRYPTION

public static String ACTION_START_ENCRYPTION { get; }

Property Value

String

ACTION_SYSTEM_UPDATE_POLICY_CHANGED

public static String ACTION_SYSTEM_UPDATE_POLICY_CHANGED { get; }

Property Value

String

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

CONTENT_PROTECTION_DISABLED

public static int CONTENT_PROTECTION_DISABLED { get; }

Property Value

int

CONTENT_PROTECTION_ENABLED

public static int CONTENT_PROTECTION_ENABLED { get; }

Property Value

int

CONTENT_PROTECTION_NOT_CONTROLLED_BY_POLICY

public static int CONTENT_PROTECTION_NOT_CONTROLLED_BY_POLICY { get; }

Property Value

int

DELEGATION_APP_RESTRICTIONS

public static String DELEGATION_APP_RESTRICTIONS { get; }

Property Value

String

DELEGATION_BLOCK_UNINSTALL

public static String DELEGATION_BLOCK_UNINSTALL { get; }

Property Value

String

DELEGATION_CERT_INSTALL

public static String DELEGATION_CERT_INSTALL { get; }

Property Value

String

DELEGATION_CERT_SELECTION

public static String DELEGATION_CERT_SELECTION { get; }

Property Value

String

DELEGATION_ENABLE_SYSTEM_APP

public static String DELEGATION_ENABLE_SYSTEM_APP { get; }

Property Value

String

DELEGATION_INSTALL_EXISTING_PACKAGE

public static String DELEGATION_INSTALL_EXISTING_PACKAGE { get; }

Property Value

String

DELEGATION_KEEP_UNINSTALLED_PACKAGES

public static String DELEGATION_KEEP_UNINSTALLED_PACKAGES { get; }

Property Value

String

DELEGATION_NETWORK_LOGGING

public static String DELEGATION_NETWORK_LOGGING { get; }

Property Value

String

DELEGATION_PACKAGE_ACCESS

public static String DELEGATION_PACKAGE_ACCESS { get; }

Property Value

String

DELEGATION_PERMISSION_GRANT

public static String DELEGATION_PERMISSION_GRANT { get; }

Property Value

String

DELEGATION_SECURITY_LOGGING

public static String DELEGATION_SECURITY_LOGGING { get; }

Property Value

String

ENCRYPTION_STATUS_ACTIVATING

[Obsolete]
public static int ENCRYPTION_STATUS_ACTIVATING { get; }

Property Value

int

ENCRYPTION_STATUS_ACTIVE

public static int ENCRYPTION_STATUS_ACTIVE { get; }

Property Value

int

ENCRYPTION_STATUS_ACTIVE_DEFAULT_KEY

public static int ENCRYPTION_STATUS_ACTIVE_DEFAULT_KEY { get; }

Property Value

int

ENCRYPTION_STATUS_ACTIVE_PER_USER

public static int ENCRYPTION_STATUS_ACTIVE_PER_USER { get; }

Property Value

int

ENCRYPTION_STATUS_INACTIVE

public static int ENCRYPTION_STATUS_INACTIVE { get; }

Property Value

int

ENCRYPTION_STATUS_UNSUPPORTED

public static int ENCRYPTION_STATUS_UNSUPPORTED { get; }

Property Value

int

EXTRA_ADD_EXPLANATION

public static String EXTRA_ADD_EXPLANATION { get; }

Property Value

String

EXTRA_DELEGATION_SCOPES

public static String EXTRA_DELEGATION_SCOPES { get; }

Property Value

String

EXTRA_DEVICE_ADMIN

public static String EXTRA_DEVICE_ADMIN { get; }

Property Value

String

EXTRA_DEVICE_PASSWORD_REQUIREMENT_ONLY

public static String EXTRA_DEVICE_PASSWORD_REQUIREMENT_ONLY { get; }

Property Value

String

EXTRA_PASSWORD_COMPLEXITY

public static String EXTRA_PASSWORD_COMPLEXITY { get; }

Property Value

String

EXTRA_PROVISIONING_ACCOUNT_TO_MIGRATE

public static String EXTRA_PROVISIONING_ACCOUNT_TO_MIGRATE { get; }

Property Value

String

EXTRA_PROVISIONING_ADMIN_EXTRAS_BUNDLE

public static String EXTRA_PROVISIONING_ADMIN_EXTRAS_BUNDLE { get; }

Property Value

String

EXTRA_PROVISIONING_ALLOWED_PROVISIONING_MODES

public static String EXTRA_PROVISIONING_ALLOWED_PROVISIONING_MODES { get; }

Property Value

String

EXTRA_PROVISIONING_ALLOW_OFFLINE

public static String EXTRA_PROVISIONING_ALLOW_OFFLINE { get; }

Property Value

String

EXTRA_PROVISIONING_DEVICE_ADMIN_COMPONENT_NAME

public static String EXTRA_PROVISIONING_DEVICE_ADMIN_COMPONENT_NAME { get; }

Property Value

String

EXTRA_PROVISIONING_DEVICE_ADMIN_MINIMUM_VERSION_CODE

public static String EXTRA_PROVISIONING_DEVICE_ADMIN_MINIMUM_VERSION_CODE { get; }

Property Value

String

EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_CHECKSUM

public static String EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_CHECKSUM { get; }

Property Value

String
public static String EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_DOWNLOAD_COOKIE_HEADER { get; }

Property Value

String

EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_DOWNLOAD_LOCATION

public static String EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_DOWNLOAD_LOCATION { get; }

Property Value

String

EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_NAME

[Obsolete]
public static String EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_NAME { get; }

Property Value

String

EXTRA_PROVISIONING_DEVICE_ADMIN_SIGNATURE_CHECKSUM

public static String EXTRA_PROVISIONING_DEVICE_ADMIN_SIGNATURE_CHECKSUM { get; }

Property Value

String

EXTRA_PROVISIONING_DISCLAIMERS

public static String EXTRA_PROVISIONING_DISCLAIMERS { get; }

Property Value

String

EXTRA_PROVISIONING_DISCLAIMER_CONTENT

public static String EXTRA_PROVISIONING_DISCLAIMER_CONTENT { get; }

Property Value

String

EXTRA_PROVISIONING_DISCLAIMER_HEADER

public static String EXTRA_PROVISIONING_DISCLAIMER_HEADER { get; }

Property Value

String

EXTRA_PROVISIONING_EMAIL_ADDRESS

[Obsolete]
public static String EXTRA_PROVISIONING_EMAIL_ADDRESS { get; }

Property Value

String

EXTRA_PROVISIONING_IMEI

public static String EXTRA_PROVISIONING_IMEI { get; }

Property Value

String

EXTRA_PROVISIONING_KEEP_ACCOUNT_ON_MIGRATION

public static String EXTRA_PROVISIONING_KEEP_ACCOUNT_ON_MIGRATION { get; }

Property Value

String

EXTRA_PROVISIONING_KEEP_SCREEN_ON

[Obsolete]
public static String EXTRA_PROVISIONING_KEEP_SCREEN_ON { get; }

Property Value

String

EXTRA_PROVISIONING_LEAVE_ALL_SYSTEM_APPS_ENABLED

public static String EXTRA_PROVISIONING_LEAVE_ALL_SYSTEM_APPS_ENABLED { get; }

Property Value

String

EXTRA_PROVISIONING_LOCALE

public static String EXTRA_PROVISIONING_LOCALE { get; }

Property Value

String

EXTRA_PROVISIONING_LOCAL_TIME

public static String EXTRA_PROVISIONING_LOCAL_TIME { get; }

Property Value

String

EXTRA_PROVISIONING_LOGO_URI

[Obsolete]
public static String EXTRA_PROVISIONING_LOGO_URI { get; }

Property Value

String

EXTRA_PROVISIONING_MAIN_COLOR

[Obsolete]
public static String EXTRA_PROVISIONING_MAIN_COLOR { get; }

Property Value

String

EXTRA_PROVISIONING_MODE

public static String EXTRA_PROVISIONING_MODE { get; }

Property Value

String

EXTRA_PROVISIONING_SENSORS_PERMISSION_GRANT_OPT_OUT

public static String EXTRA_PROVISIONING_SENSORS_PERMISSION_GRANT_OPT_OUT { get; }

Property Value

String

EXTRA_PROVISIONING_SERIAL_NUMBER

public static String EXTRA_PROVISIONING_SERIAL_NUMBER { get; }

Property Value

String

EXTRA_PROVISIONING_SHOULD_LAUNCH_RESULT_INTENT

public static String EXTRA_PROVISIONING_SHOULD_LAUNCH_RESULT_INTENT { get; }

Property Value

String

EXTRA_PROVISIONING_SKIP_EDUCATION_SCREENS

public static String EXTRA_PROVISIONING_SKIP_EDUCATION_SCREENS { get; }

Property Value

String

EXTRA_PROVISIONING_SKIP_ENCRYPTION

public static String EXTRA_PROVISIONING_SKIP_ENCRYPTION { get; }

Property Value

String
[Obsolete]
public static String EXTRA_PROVISIONING_SKIP_USER_CONSENT { get; }

Property Value

String

EXTRA_PROVISIONING_TIME_ZONE

public static String EXTRA_PROVISIONING_TIME_ZONE { get; }

Property Value

String

EXTRA_PROVISIONING_USE_MOBILE_DATA

public static String EXTRA_PROVISIONING_USE_MOBILE_DATA { get; }

Property Value

String

EXTRA_PROVISIONING_WIFI_ANONYMOUS_IDENTITY

public static String EXTRA_PROVISIONING_WIFI_ANONYMOUS_IDENTITY { get; }

Property Value

String

EXTRA_PROVISIONING_WIFI_CA_CERTIFICATE

public static String EXTRA_PROVISIONING_WIFI_CA_CERTIFICATE { get; }

Property Value

String

EXTRA_PROVISIONING_WIFI_DOMAIN

public static String EXTRA_PROVISIONING_WIFI_DOMAIN { get; }

Property Value

String

EXTRA_PROVISIONING_WIFI_EAP_METHOD

public static String EXTRA_PROVISIONING_WIFI_EAP_METHOD { get; }

Property Value

String

EXTRA_PROVISIONING_WIFI_HIDDEN

public static String EXTRA_PROVISIONING_WIFI_HIDDEN { get; }

Property Value

String

EXTRA_PROVISIONING_WIFI_IDENTITY

public static String EXTRA_PROVISIONING_WIFI_IDENTITY { get; }

Property Value

String

EXTRA_PROVISIONING_WIFI_PAC_URL

public static String EXTRA_PROVISIONING_WIFI_PAC_URL { get; }

Property Value

String

EXTRA_PROVISIONING_WIFI_PASSWORD

public static String EXTRA_PROVISIONING_WIFI_PASSWORD { get; }

Property Value

String

EXTRA_PROVISIONING_WIFI_PHASE2_AUTH

public static String EXTRA_PROVISIONING_WIFI_PHASE2_AUTH { get; }

Property Value

String

EXTRA_PROVISIONING_WIFI_PROXY_BYPASS

public static String EXTRA_PROVISIONING_WIFI_PROXY_BYPASS { get; }

Property Value

String

EXTRA_PROVISIONING_WIFI_PROXY_HOST

public static String EXTRA_PROVISIONING_WIFI_PROXY_HOST { get; }

Property Value

String

EXTRA_PROVISIONING_WIFI_PROXY_PORT

public static String EXTRA_PROVISIONING_WIFI_PROXY_PORT { get; }

Property Value

String

EXTRA_PROVISIONING_WIFI_SECURITY_TYPE

public static String EXTRA_PROVISIONING_WIFI_SECURITY_TYPE { get; }

Property Value

String

EXTRA_PROVISIONING_WIFI_SSID

public static String EXTRA_PROVISIONING_WIFI_SSID { get; }

Property Value

String

EXTRA_PROVISIONING_WIFI_USER_CERTIFICATE

public static String EXTRA_PROVISIONING_WIFI_USER_CERTIFICATE { get; }

Property Value

String

EXTRA_RESOURCE_IDS

public static String EXTRA_RESOURCE_IDS { get; }

Property Value

String

EXTRA_RESOURCE_TYPE

public static String EXTRA_RESOURCE_TYPE { get; }

Property Value

String

EXTRA_RESOURCE_TYPE_DRAWABLE

public static int EXTRA_RESOURCE_TYPE_DRAWABLE { get; }

Property Value

int

EXTRA_RESOURCE_TYPE_STRING

public static int EXTRA_RESOURCE_TYPE_STRING { get; }

Property Value

int

EXTRA_RESULT_LAUNCH_INTENT

public static String EXTRA_RESULT_LAUNCH_INTENT { get; }

Property Value

String

FLAG_EVICT_CREDENTIAL_ENCRYPTION_KEY

public static int FLAG_EVICT_CREDENTIAL_ENCRYPTION_KEY { get; }

Property Value

int

FLAG_MANAGED_CAN_ACCESS_PARENT

public static int FLAG_MANAGED_CAN_ACCESS_PARENT { get; }

Property Value

int

FLAG_PARENT_CAN_ACCESS_MANAGED

public static int FLAG_PARENT_CAN_ACCESS_MANAGED { get; }

Property Value

int

ID_TYPE_BASE_INFO

public static int ID_TYPE_BASE_INFO { get; }

Property Value

int

ID_TYPE_IMEI

public static int ID_TYPE_IMEI { get; }

Property Value

int

ID_TYPE_INDIVIDUAL_ATTESTATION

public static int ID_TYPE_INDIVIDUAL_ATTESTATION { get; }

Property Value

int

ID_TYPE_MEID

public static int ID_TYPE_MEID { get; }

Property Value

int

ID_TYPE_SERIAL

public static int ID_TYPE_SERIAL { get; }

Property Value

int

INSTALLKEY_REQUEST_CREDENTIALS_ACCESS

public static int INSTALLKEY_REQUEST_CREDENTIALS_ACCESS { get; }

Property Value

int

INSTALLKEY_SET_USER_SELECTABLE

public static int INSTALLKEY_SET_USER_SELECTABLE { get; }

Property Value

int

IsBridgeAbstract

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

public override bool IsBridgeStatic { get; }

Property Value

bool

KEYGUARD_DISABLE_BIOMETRICS

public static int KEYGUARD_DISABLE_BIOMETRICS { get; }

Property Value

int

KEYGUARD_DISABLE_FACE

public static int KEYGUARD_DISABLE_FACE { get; }

Property Value

int

KEYGUARD_DISABLE_FEATURES_ALL

public static int KEYGUARD_DISABLE_FEATURES_ALL { get; }

Property Value

int

KEYGUARD_DISABLE_FEATURES_NONE

public static int KEYGUARD_DISABLE_FEATURES_NONE { get; }

Property Value

int

KEYGUARD_DISABLE_FINGERPRINT

public static int KEYGUARD_DISABLE_FINGERPRINT { get; }

Property Value

int

KEYGUARD_DISABLE_IRIS

public static int KEYGUARD_DISABLE_IRIS { get; }

Property Value

int

KEYGUARD_DISABLE_REMOTE_INPUT

[Obsolete]
public static int KEYGUARD_DISABLE_REMOTE_INPUT { get; }

Property Value

int

KEYGUARD_DISABLE_SECURE_CAMERA

public static int KEYGUARD_DISABLE_SECURE_CAMERA { get; }

Property Value

int

KEYGUARD_DISABLE_SECURE_NOTIFICATIONS

public static int KEYGUARD_DISABLE_SECURE_NOTIFICATIONS { get; }

Property Value

int

KEYGUARD_DISABLE_SHORTCUTS_ALL

public static int KEYGUARD_DISABLE_SHORTCUTS_ALL { get; }

Property Value

int

KEYGUARD_DISABLE_TRUST_AGENTS

public static int KEYGUARD_DISABLE_TRUST_AGENTS { get; }

Property Value

int

KEYGUARD_DISABLE_UNREDACTED_NOTIFICATIONS

public static int KEYGUARD_DISABLE_UNREDACTED_NOTIFICATIONS { get; }

Property Value

int

KEYGUARD_DISABLE_WIDGETS_ALL

public static int KEYGUARD_DISABLE_WIDGETS_ALL { get; }

Property Value

int

LEAVE_ALL_SYSTEM_APPS_ENABLED

public static int LEAVE_ALL_SYSTEM_APPS_ENABLED { get; }

Property Value

int

LOCK_TASK_FEATURE_BLOCK_ACTIVITY_START_IN_TASK

public static int LOCK_TASK_FEATURE_BLOCK_ACTIVITY_START_IN_TASK { get; }

Property Value

int

LOCK_TASK_FEATURE_GLOBAL_ACTIONS

public static int LOCK_TASK_FEATURE_GLOBAL_ACTIONS { get; }

Property Value

int

LOCK_TASK_FEATURE_HOME

public static int LOCK_TASK_FEATURE_HOME { get; }

Property Value

int

LOCK_TASK_FEATURE_KEYGUARD

public static int LOCK_TASK_FEATURE_KEYGUARD { get; }

Property Value

int

LOCK_TASK_FEATURE_NONE

public static int LOCK_TASK_FEATURE_NONE { get; }

Property Value

int

LOCK_TASK_FEATURE_NOTIFICATIONS

public static int LOCK_TASK_FEATURE_NOTIFICATIONS { get; }

Property Value

int

LOCK_TASK_FEATURE_OVERVIEW

public static int LOCK_TASK_FEATURE_OVERVIEW { get; }

Property Value

int

LOCK_TASK_FEATURE_SYSTEM_INFO

public static int LOCK_TASK_FEATURE_SYSTEM_INFO { get; }

Property Value

int

MAKE_USER_EPHEMERAL

public static int MAKE_USER_EPHEMERAL { get; }

Property Value

int

MIME_TYPE_PROVISIONING_NFC

public static String MIME_TYPE_PROVISIONING_NFC { get; }

Property Value

String

MTE_DISABLED

public static int MTE_DISABLED { get; }

Property Value

int

MTE_ENABLED

public static int MTE_ENABLED { get; }

Property Value

int

MTE_NOT_CONTROLLED_BY_POLICY

public static int MTE_NOT_CONTROLLED_BY_POLICY { get; }

Property Value

int

NEARBY_STREAMING_DISABLED

public static int NEARBY_STREAMING_DISABLED { get; }

Property Value

int

NEARBY_STREAMING_ENABLED

public static int NEARBY_STREAMING_ENABLED { get; }

Property Value

int

NEARBY_STREAMING_NOT_CONTROLLED_BY_POLICY

public static int NEARBY_STREAMING_NOT_CONTROLLED_BY_POLICY { get; }

Property Value

int

NEARBY_STREAMING_SAME_MANAGED_ACCOUNT_ONLY

public static int NEARBY_STREAMING_SAME_MANAGED_ACCOUNT_ONLY { get; }

Property Value

int

OPERATION_SAFETY_REASON_DRIVING_DISTRACTION

public static int OPERATION_SAFETY_REASON_DRIVING_DISTRACTION { get; }

Property Value

int

PASSWORD_COMPLEXITY_HIGH

public static int PASSWORD_COMPLEXITY_HIGH { get; }

Property Value

int

PASSWORD_COMPLEXITY_LOW

public static int PASSWORD_COMPLEXITY_LOW { get; }

Property Value

int

PASSWORD_COMPLEXITY_MEDIUM

public static int PASSWORD_COMPLEXITY_MEDIUM { get; }

Property Value

int

PASSWORD_COMPLEXITY_NONE

public static int PASSWORD_COMPLEXITY_NONE { get; }

Property Value

int

PASSWORD_QUALITY_ALPHABETIC

public static int PASSWORD_QUALITY_ALPHABETIC { get; }

Property Value

int

PASSWORD_QUALITY_ALPHANUMERIC

public static int PASSWORD_QUALITY_ALPHANUMERIC { get; }

Property Value

int

PASSWORD_QUALITY_BIOMETRIC_WEAK

public static int PASSWORD_QUALITY_BIOMETRIC_WEAK { get; }

Property Value

int

PASSWORD_QUALITY_COMPLEX

public static int PASSWORD_QUALITY_COMPLEX { get; }

Property Value

int

PASSWORD_QUALITY_NUMERIC

public static int PASSWORD_QUALITY_NUMERIC { get; }

Property Value

int

PASSWORD_QUALITY_NUMERIC_COMPLEX

public static int PASSWORD_QUALITY_NUMERIC_COMPLEX { get; }

Property Value

int

PASSWORD_QUALITY_SOMETHING

public static int PASSWORD_QUALITY_SOMETHING { get; }

Property Value

int

PASSWORD_QUALITY_UNSPECIFIED

public static int PASSWORD_QUALITY_UNSPECIFIED { get; }

Property Value

int

PERMISSION_GRANT_STATE_DEFAULT

public static int PERMISSION_GRANT_STATE_DEFAULT { get; }

Property Value

int

PERMISSION_GRANT_STATE_DENIED

public static int PERMISSION_GRANT_STATE_DENIED { get; }

Property Value

int

PERMISSION_GRANT_STATE_GRANTED

public static int PERMISSION_GRANT_STATE_GRANTED { get; }

Property Value

int

PERMISSION_POLICY_AUTO_DENY

public static int PERMISSION_POLICY_AUTO_DENY { get; }

Property Value

int

PERMISSION_POLICY_AUTO_GRANT

public static int PERMISSION_POLICY_AUTO_GRANT { get; }

Property Value

int

PERMISSION_POLICY_PROMPT

public static int PERMISSION_POLICY_PROMPT { get; }

Property Value

int

PERSONAL_APPS_NOT_SUSPENDED

public static int PERSONAL_APPS_NOT_SUSPENDED { get; }

Property Value

int

PERSONAL_APPS_SUSPENDED_EXPLICITLY

public static int PERSONAL_APPS_SUSPENDED_EXPLICITLY { get; }

Property Value

int

PERSONAL_APPS_SUSPENDED_PROFILE_TIMEOUT

public static int PERSONAL_APPS_SUSPENDED_PROFILE_TIMEOUT { get; }

Property Value

int

POLICY_DISABLE_CAMERA

public static String POLICY_DISABLE_CAMERA { get; }

Property Value

String

POLICY_DISABLE_SCREEN_CAPTURE

public static String POLICY_DISABLE_SCREEN_CAPTURE { get; }

Property Value

String

PRIVATE_DNS_MODE_OFF

public static int PRIVATE_DNS_MODE_OFF { get; }

Property Value

int

PRIVATE_DNS_MODE_OPPORTUNISTIC

public static int PRIVATE_DNS_MODE_OPPORTUNISTIC { get; }

Property Value

int

PRIVATE_DNS_MODE_PROVIDER_HOSTNAME

public static int PRIVATE_DNS_MODE_PROVIDER_HOSTNAME { get; }

Property Value

int

PRIVATE_DNS_MODE_UNKNOWN

public static int PRIVATE_DNS_MODE_UNKNOWN { get; }

Property Value

int

PRIVATE_DNS_SET_ERROR_FAILURE_SETTING

public static int PRIVATE_DNS_SET_ERROR_FAILURE_SETTING { get; }

Property Value

int

PRIVATE_DNS_SET_ERROR_HOST_NOT_SERVING

public static int PRIVATE_DNS_SET_ERROR_HOST_NOT_SERVING { get; }

Property Value

int

PRIVATE_DNS_SET_NO_ERROR

public static int PRIVATE_DNS_SET_NO_ERROR { get; }

Property Value

int

PROVISIONING_MODE_FULLY_MANAGED_DEVICE

public static int PROVISIONING_MODE_FULLY_MANAGED_DEVICE { get; }

Property Value

int

PROVISIONING_MODE_MANAGED_PROFILE

public static int PROVISIONING_MODE_MANAGED_PROFILE { get; }

Property Value

int

PROVISIONING_MODE_MANAGED_PROFILE_ON_PERSONAL_DEVICE

public static int PROVISIONING_MODE_MANAGED_PROFILE_ON_PERSONAL_DEVICE { get; }

Property Value

int

RESET_PASSWORD_DO_NOT_ASK_CREDENTIALS_ON_BOOT

public static int RESET_PASSWORD_DO_NOT_ASK_CREDENTIALS_ON_BOOT { get; }

Property Value

int

RESET_PASSWORD_REQUIRE_ENTRY

public static int RESET_PASSWORD_REQUIRE_ENTRY { get; }

Property Value

int

SKIP_SETUP_WIZARD

public static int SKIP_SETUP_WIZARD { get; }

Property Value

int

WIFI_SECURITY_ENTERPRISE_192

public static int WIFI_SECURITY_ENTERPRISE_192 { get; }

Property Value

int

WIFI_SECURITY_ENTERPRISE_EAP

public static int WIFI_SECURITY_ENTERPRISE_EAP { get; }

Property Value

int

WIFI_SECURITY_OPEN

public static int WIFI_SECURITY_OPEN { get; }

Property Value

int

WIFI_SECURITY_PERSONAL

public static int WIFI_SECURITY_PERSONAL { get; }

Property Value

int

WIPE_EUICC

public static int WIPE_EUICC { get; }

Property Value

int

WIPE_EXTERNAL_STORAGE

public static int WIPE_EXTERNAL_STORAGE { get; }

Property Value

int

WIPE_RESET_PROTECTION_DATA

public static int WIPE_RESET_PROTECTION_DATA { get; }

Property Value

int

WIPE_SILENTLY

public static int WIPE_SILENTLY { get; }

Property Value

int

Methods

AcknowledgeDeviceCompliant()

public void AcknowledgeDeviceCompliant()

AddCrossProfileIntentFilter(ComponentName, IntentFilter, int)

public void AddCrossProfileIntentFilter(ComponentName arg0, IntentFilter arg1, int arg2)

Parameters

arg0 ComponentName

ComponentName

arg1 IntentFilter

IntentFilter

arg2 int

int

AddCrossProfileWidgetProvider(ComponentName, String)

public bool AddCrossProfileWidgetProvider(ComponentName arg0, String arg1)

Parameters

arg0 ComponentName

ComponentName

arg1 String

String

Returns

bool

bool

AddOverrideApn(ComponentName, ApnSetting)

public int AddOverrideApn(ComponentName arg0, ApnSetting arg1)

Parameters

arg0 ComponentName

ComponentName

arg1 ApnSetting

ApnSetting

Returns

int

int

AddPersistentPreferredActivity(ComponentName, IntentFilter, ComponentName)

public void AddPersistentPreferredActivity(ComponentName arg0, IntentFilter arg1, ComponentName arg2)

Parameters

arg0 ComponentName

ComponentName

arg1 IntentFilter

IntentFilter

arg2 ComponentName

ComponentName

AddUserRestriction(ComponentName, String)

public void AddUserRestriction(ComponentName arg0, String arg1)

Parameters

arg0 ComponentName

ComponentName

arg1 String

String

AddUserRestrictionGlobally(String)

public void AddUserRestrictionGlobally(String arg0)

Parameters

arg0 String

String

BindDeviceAdminServiceAsUser(ComponentName, Intent, ServiceConnection, BindServiceFlags, UserHandle)

public bool BindDeviceAdminServiceAsUser(ComponentName arg0, Intent arg1, ServiceConnection arg2, Context.BindServiceFlags arg3, UserHandle arg4)

Parameters

arg0 ComponentName

ComponentName

arg1 Intent

Intent

arg2 ServiceConnection

ServiceConnection

arg3 Context.BindServiceFlags

Context.BindServiceFlags

arg4 UserHandle

UserHandle

Returns

bool

bool

BindDeviceAdminServiceAsUser(ComponentName, Intent, ServiceConnection, int, UserHandle)

public bool BindDeviceAdminServiceAsUser(ComponentName arg0, Intent arg1, ServiceConnection arg2, int arg3, UserHandle arg4)

Parameters

arg0 ComponentName

ComponentName

arg1 Intent

Intent

arg2 ServiceConnection

ServiceConnection

arg3 int

int

arg4 UserHandle

UserHandle

Returns

bool

bool

CanAdminGrantSensorsPermissions()

public bool CanAdminGrantSensorsPermissions()

Returns

bool

bool

CanUsbDataSignalingBeDisabled()

public bool CanUsbDataSignalingBeDisabled()

Returns

bool

bool

ClearApplicationUserData(ComponentName, String, Executor, OnClearApplicationUserDataListener)

public void ClearApplicationUserData(ComponentName arg0, String arg1, Executor arg2, DevicePolicyManager.OnClearApplicationUserDataListener arg3)

Parameters

arg0 ComponentName

ComponentName

arg1 String

String

arg2 Executor

Executor

arg3 DevicePolicyManager.OnClearApplicationUserDataListener

DevicePolicyManager.OnClearApplicationUserDataListener

ClearCrossProfileIntentFilters(ComponentName)

public void ClearCrossProfileIntentFilters(ComponentName arg0)

Parameters

arg0 ComponentName

ComponentName

ClearDeviceOwnerApp(String)

[Obsolete]
public void ClearDeviceOwnerApp(String arg0)

Parameters

arg0 String

String

ClearPackagePersistentPreferredActivities(ComponentName, String)

public void ClearPackagePersistentPreferredActivities(ComponentName arg0, String arg1)

Parameters

arg0 ComponentName

ComponentName

arg1 String

String

ClearProfileOwner(ComponentName)

[Obsolete]
public void ClearProfileOwner(ComponentName arg0)

Parameters

arg0 ComponentName

ComponentName

ClearResetPasswordToken(ComponentName)

public bool ClearResetPasswordToken(ComponentName arg0)

Parameters

arg0 ComponentName

ComponentName

Returns

bool

bool

ClearUserRestriction(ComponentName, String)

public void ClearUserRestriction(ComponentName arg0, String arg1)

Parameters

arg0 ComponentName

ComponentName

arg1 String

String

CreateAdminSupportIntent(String)

public Intent CreateAdminSupportIntent(String arg0)

Parameters

arg0 String

String

Returns

Intent

Intent

CreateAndManageUser(ComponentName, String, ComponentName, PersistableBundle, int)

public UserHandle CreateAndManageUser(ComponentName arg0, String arg1, ComponentName arg2, PersistableBundle arg3, int arg4)

Parameters

arg0 ComponentName

ComponentName

arg1 String

String

arg2 ComponentName

ComponentName

arg3 PersistableBundle

PersistableBundle

arg4 int

int

Returns

UserHandle

UserHandle

EnableSystemApp(ComponentName, Intent)

public int EnableSystemApp(ComponentName arg0, Intent arg1)

Parameters

arg0 ComponentName

ComponentName

arg1 Intent

Intent

Returns

int

int

EnableSystemApp(ComponentName, String)

public void EnableSystemApp(ComponentName arg0, String arg1)

Parameters

arg0 ComponentName

ComponentName

arg1 String

String

GenerateKeyPair(ComponentName, String, KeyGenParameterSpec, int)

public AttestedKeyPair GenerateKeyPair(ComponentName arg0, String arg1, KeyGenParameterSpec arg2, int arg3)

Parameters

arg0 ComponentName

ComponentName

arg1 String

String

arg2 KeyGenParameterSpec

KeyGenParameterSpec

arg3 int

int

Returns

AttestedKeyPair

AttestedKeyPair

GetAccountTypesWithManagementDisabled()

public String[] GetAccountTypesWithManagementDisabled()

Returns

String[]

String

GetActiveAdmins()

public List<ComponentName> GetActiveAdmins()

Returns

List<ComponentName>

List

GetAffiliationIds(ComponentName)

public Set<String> GetAffiliationIds(ComponentName arg0)

Parameters

arg0 ComponentName

ComponentName

Returns

Set<String>

Set

GetAlwaysOnVpnLockdownWhitelist(ComponentName)

public Set<String> GetAlwaysOnVpnLockdownWhitelist(ComponentName arg0)

Parameters

arg0 ComponentName

ComponentName

Returns

Set<String>

Set

GetAlwaysOnVpnPackage(ComponentName)

public String GetAlwaysOnVpnPackage(ComponentName arg0)

Parameters

arg0 ComponentName

ComponentName

Returns

String

String

GetApplicationRestrictions(ComponentName, String)

public Bundle GetApplicationRestrictions(ComponentName arg0, String arg1)

Parameters

arg0 ComponentName

ComponentName

arg1 String

String

Returns

Bundle

Bundle

GetApplicationRestrictionsManagingPackage(ComponentName)

[Obsolete]
public String GetApplicationRestrictionsManagingPackage(ComponentName arg0)

Parameters

arg0 ComponentName

ComponentName

Returns

String

String

GetAutoTimeEnabled(ComponentName)

public bool GetAutoTimeEnabled(ComponentName arg0)

Parameters

arg0 ComponentName

ComponentName

Returns

bool

bool

GetAutoTimeRequired()

[Obsolete]
public bool GetAutoTimeRequired()

Returns

bool

bool

GetAutoTimeZoneEnabled(ComponentName)

public bool GetAutoTimeZoneEnabled(ComponentName arg0)

Parameters

arg0 ComponentName

ComponentName

Returns

bool

bool

GetBindDeviceAdminTargetUsers(ComponentName)

public List<UserHandle> GetBindDeviceAdminTargetUsers(ComponentName arg0)

Parameters

arg0 ComponentName

ComponentName

Returns

List<UserHandle>

List

GetBluetoothContactSharingDisabled(ComponentName)

public bool GetBluetoothContactSharingDisabled(ComponentName arg0)

Parameters

arg0 ComponentName

ComponentName

Returns

bool

bool

GetCameraDisabled(ComponentName)

public bool GetCameraDisabled(ComponentName arg0)

Parameters

arg0 ComponentName

ComponentName

Returns

bool

bool

GetCertInstallerPackage(ComponentName)

[Obsolete]
public String GetCertInstallerPackage(ComponentName arg0)

Parameters

arg0 ComponentName

ComponentName

Returns

String

String

Exceptions

SecurityException

GetContentProtectionPolicy(ComponentName)

public int GetContentProtectionPolicy(ComponentName arg0)

Parameters

arg0 ComponentName

ComponentName

Returns

int

int

GetCredentialManagerPolicy()

public PackagePolicy GetCredentialManagerPolicy()

Returns

PackagePolicy

PackagePolicy

GetCrossProfileCalendarPackages(ComponentName)

[Obsolete]
public Set<String> GetCrossProfileCalendarPackages(ComponentName arg0)

Parameters

arg0 ComponentName

ComponentName

Returns

Set<String>

Set

GetCrossProfileCallerIdDisabled(ComponentName)

[Obsolete]
public bool GetCrossProfileCallerIdDisabled(ComponentName arg0)

Parameters

arg0 ComponentName

ComponentName

Returns

bool

bool

GetCrossProfileContactsSearchDisabled(ComponentName)

[Obsolete]
public bool GetCrossProfileContactsSearchDisabled(ComponentName arg0)

Parameters

arg0 ComponentName

ComponentName

Returns

bool

bool

GetCrossProfilePackages(ComponentName)

public Set<String> GetCrossProfilePackages(ComponentName arg0)

Parameters

arg0 ComponentName

ComponentName

Returns

Set<String>

Set

GetCrossProfileWidgetProviders(ComponentName)

public List<String> GetCrossProfileWidgetProviders(ComponentName arg0)

Parameters

arg0 ComponentName

ComponentName

Returns

List<String>

List

GetCurrentFailedPasswordAttempts()

public int GetCurrentFailedPasswordAttempts()

Returns

int

int

GetDelegatePackages(ComponentName, String)

public List<String> GetDelegatePackages(ComponentName arg0, String arg1)

Parameters

arg0 ComponentName

ComponentName

arg1 String

String

Returns

List<String>

List

GetDelegatedScopes(ComponentName, String)

public List<String> GetDelegatedScopes(ComponentName arg0, String arg1)

Parameters

arg0 ComponentName

ComponentName

arg1 String

String

Returns

List<String>

List

GetDeviceOwnerLockScreenInfo()

public CharSequence GetDeviceOwnerLockScreenInfo()

Returns

CharSequence

CharSequence

GetDevicePolicyManagementRoleHolderPackage()

public String GetDevicePolicyManagementRoleHolderPackage()

Returns

String

String

GetEndUserSessionMessage(ComponentName)

public CharSequence GetEndUserSessionMessage(ComponentName arg0)

Parameters

arg0 ComponentName

ComponentName

Returns

CharSequence

CharSequence

GetEnrollmentSpecificId()

public String GetEnrollmentSpecificId()

Returns

String

String

GetFactoryResetProtectionPolicy(ComponentName)

public FactoryResetProtectionPolicy GetFactoryResetProtectionPolicy(ComponentName arg0)

Parameters

arg0 ComponentName

ComponentName

Returns

FactoryResetProtectionPolicy

FactoryResetProtectionPolicy

GetGlobalPrivateDnsHost(ComponentName)

public String GetGlobalPrivateDnsHost(ComponentName arg0)

Parameters

arg0 ComponentName

ComponentName

Returns

String

String

GetGlobalPrivateDnsMode(ComponentName)

public int GetGlobalPrivateDnsMode(ComponentName arg0)

Parameters

arg0 ComponentName

ComponentName

Returns

int

int

GetInstalledCaCerts(ComponentName)

public List<byte[]> GetInstalledCaCerts(ComponentName arg0)

Parameters

arg0 ComponentName

ComponentName

Returns

List<byte[]>

List

GetKeepUninstalledPackages(ComponentName)

public List<String> GetKeepUninstalledPackages(ComponentName arg0)

Parameters

arg0 ComponentName

ComponentName

Returns

List<String>

List

GetKeyPairGrants(String)

public Map<Integer, Set<String>> GetKeyPairGrants(String arg0)

Parameters

arg0 String

String

Returns

Map<Integer, Set<String>>

Map

GetKeyguardDisabledFeatures(ComponentName)

public int GetKeyguardDisabledFeatures(ComponentName arg0)

Parameters

arg0 ComponentName

ComponentName

Returns

int

int

GetLockTaskFeatures(ComponentName)

public int GetLockTaskFeatures(ComponentName arg0)

Parameters

arg0 ComponentName

ComponentName

Returns

int

int

GetLockTaskPackages(ComponentName)

public String[] GetLockTaskPackages(ComponentName arg0)

Parameters

arg0 ComponentName

ComponentName

Returns

String[]

String

GetLongSupportMessage(ComponentName)

public CharSequence GetLongSupportMessage(ComponentName arg0)

Parameters

arg0 ComponentName

ComponentName

Returns

CharSequence

CharSequence

GetManagedProfileCallerIdAccessPolicy()

public PackagePolicy GetManagedProfileCallerIdAccessPolicy()

Returns

PackagePolicy

PackagePolicy

GetManagedProfileContactsAccessPolicy()

public PackagePolicy GetManagedProfileContactsAccessPolicy()

Returns

PackagePolicy

PackagePolicy

GetManagedProfileMaximumTimeOff(ComponentName)

public long GetManagedProfileMaximumTimeOff(ComponentName arg0)

Parameters

arg0 ComponentName

ComponentName

Returns

long

long

GetManagedSubscriptionsPolicy()

public ManagedSubscriptionsPolicy GetManagedSubscriptionsPolicy()

Returns

ManagedSubscriptionsPolicy

ManagedSubscriptionsPolicy

GetMaximumFailedPasswordsForWipe(ComponentName)

public int GetMaximumFailedPasswordsForWipe(ComponentName arg0)

Parameters

arg0 ComponentName

ComponentName

Returns

int

int

GetMaximumTimeToLock(ComponentName)

public long GetMaximumTimeToLock(ComponentName arg0)

Parameters

arg0 ComponentName

ComponentName

Returns

long

long

GetMeteredDataDisabledPackages(ComponentName)

public List<String> GetMeteredDataDisabledPackages(ComponentName arg0)

Parameters

arg0 ComponentName

ComponentName

Returns

List<String>

List

GetMinimumRequiredWifiSecurityLevel()

public int GetMinimumRequiredWifiSecurityLevel()

Returns

int

int

GetMtePolicy()

public int GetMtePolicy()

Returns

int

int

GetNearbyAppStreamingPolicy()

public int GetNearbyAppStreamingPolicy()

Returns

int

int

GetNearbyNotificationStreamingPolicy()

public int GetNearbyNotificationStreamingPolicy()

Returns

int

int

GetOrganizationColor(ComponentName)

[Obsolete]
public int GetOrganizationColor(ComponentName arg0)

Parameters

arg0 ComponentName

ComponentName

Returns

int

int

GetOrganizationName(ComponentName)

public CharSequence GetOrganizationName(ComponentName arg0)

Parameters

arg0 ComponentName

ComponentName

Returns

CharSequence

CharSequence

GetOverrideApns(ComponentName)

public List<ApnSetting> GetOverrideApns(ComponentName arg0)

Parameters

arg0 ComponentName

ComponentName

Returns

List<ApnSetting>

List

GetParentProfileInstance(ComponentName)

public DevicePolicyManager GetParentProfileInstance(ComponentName arg0)

Parameters

arg0 ComponentName

ComponentName

Returns

DevicePolicyManager

DevicePolicyManager

GetPasswordComplexity()

public int GetPasswordComplexity()

Returns

int

int

GetPasswordExpiration(ComponentName)

public long GetPasswordExpiration(ComponentName arg0)

Parameters

arg0 ComponentName

ComponentName

Returns

long

long

GetPasswordExpirationTimeout(ComponentName)

public long GetPasswordExpirationTimeout(ComponentName arg0)

Parameters

arg0 ComponentName

ComponentName

Returns

long

long

GetPasswordHistoryLength(ComponentName)

public int GetPasswordHistoryLength(ComponentName arg0)

Parameters

arg0 ComponentName

ComponentName

Returns

int

int

GetPasswordMaximumLength(int)

public int GetPasswordMaximumLength(int arg0)

Parameters

arg0 int

int

Returns

int

int

GetPasswordMinimumLength(ComponentName)

[Obsolete]
public int GetPasswordMinimumLength(ComponentName arg0)

Parameters

arg0 ComponentName

ComponentName

Returns

int

int

GetPasswordMinimumLetters(ComponentName)

[Obsolete]
public int GetPasswordMinimumLetters(ComponentName arg0)

Parameters

arg0 ComponentName

ComponentName

Returns

int

int

GetPasswordMinimumLowerCase(ComponentName)

[Obsolete]
public int GetPasswordMinimumLowerCase(ComponentName arg0)

Parameters

arg0 ComponentName

ComponentName

Returns

int

int

GetPasswordMinimumNonLetter(ComponentName)

[Obsolete]
public int GetPasswordMinimumNonLetter(ComponentName arg0)

Parameters

arg0 ComponentName

ComponentName

Returns

int

int

GetPasswordMinimumNumeric(ComponentName)

[Obsolete]
public int GetPasswordMinimumNumeric(ComponentName arg0)

Parameters

arg0 ComponentName

ComponentName

Returns

int

int

GetPasswordMinimumSymbols(ComponentName)

[Obsolete]
public int GetPasswordMinimumSymbols(ComponentName arg0)

Parameters

arg0 ComponentName

ComponentName

Returns

int

int

GetPasswordMinimumUpperCase(ComponentName)

[Obsolete]
public int GetPasswordMinimumUpperCase(ComponentName arg0)

Parameters

arg0 ComponentName

ComponentName

Returns

int

int

GetPasswordQuality(ComponentName)

[Obsolete]
public int GetPasswordQuality(ComponentName arg0)

Parameters

arg0 ComponentName

ComponentName

Returns

int

int

GetPendingSystemUpdate(ComponentName)

public SystemUpdateInfo GetPendingSystemUpdate(ComponentName arg0)

Parameters

arg0 ComponentName

ComponentName

Returns

SystemUpdateInfo

SystemUpdateInfo

GetPermissionGrantState(ComponentName, String, String)

public int GetPermissionGrantState(ComponentName arg0, String arg1, String arg2)

Parameters

arg0 ComponentName

ComponentName

arg1 String

String

arg2 String

String

Returns

int

int

GetPermissionPolicy(ComponentName)

public int GetPermissionPolicy(ComponentName arg0)

Parameters

arg0 ComponentName

ComponentName

Returns

int

int

GetPermittedAccessibilityServices(ComponentName)

public List<String> GetPermittedAccessibilityServices(ComponentName arg0)

Parameters

arg0 ComponentName

ComponentName

Returns

List<String>

List

GetPermittedCrossProfileNotificationListeners(ComponentName)

public List<String> GetPermittedCrossProfileNotificationListeners(ComponentName arg0)

Parameters

arg0 ComponentName

ComponentName

Returns

List<String>

List

GetPermittedInputMethods(ComponentName)

public List<String> GetPermittedInputMethods(ComponentName arg0)

Parameters

arg0 ComponentName

ComponentName

Returns

List<String>

List

GetPersonalAppsSuspendedReasons(ComponentName)

public int GetPersonalAppsSuspendedReasons(ComponentName arg0)

Parameters

arg0 ComponentName

ComponentName

Returns

int

int

GetPreferentialNetworkServiceConfigs()

public List<PreferentialNetworkServiceConfig> GetPreferentialNetworkServiceConfigs()

Returns

List<PreferentialNetworkServiceConfig>

List

GetRequiredPasswordComplexity()

public int GetRequiredPasswordComplexity()

Returns

int

int

GetRequiredStrongAuthTimeout(ComponentName)

public long GetRequiredStrongAuthTimeout(ComponentName arg0)

Parameters

arg0 ComponentName

ComponentName

Returns

long

long

GetResources()

public DevicePolicyResourcesManager GetResources()

Returns

DevicePolicyResourcesManager

DevicePolicyResourcesManager

GetScreenCaptureDisabled(ComponentName)

public bool GetScreenCaptureDisabled(ComponentName arg0)

Parameters

arg0 ComponentName

ComponentName

Returns

bool

bool

GetSecondaryUsers(ComponentName)

public List<UserHandle> GetSecondaryUsers(ComponentName arg0)

Parameters

arg0 ComponentName

ComponentName

Returns

List<UserHandle>

List

GetShortSupportMessage(ComponentName)

public CharSequence GetShortSupportMessage(ComponentName arg0)

Parameters

arg0 ComponentName

ComponentName

Returns

CharSequence

CharSequence

GetStartUserSessionMessage(ComponentName)

public CharSequence GetStartUserSessionMessage(ComponentName arg0)

Parameters

arg0 ComponentName

ComponentName

Returns

CharSequence

CharSequence

GetStorageEncryption(ComponentName)

[Obsolete]
public bool GetStorageEncryption(ComponentName arg0)

Parameters

arg0 ComponentName

ComponentName

Returns

bool

bool

GetStorageEncryptionStatus()

public int GetStorageEncryptionStatus()

Returns

int

int

GetSubscriptionIds()

public Set<Integer> GetSubscriptionIds()

Returns

Set<Integer>

Set

GetSystemUpdatePolicy()

public SystemUpdatePolicy GetSystemUpdatePolicy()

Returns

SystemUpdatePolicy

SystemUpdatePolicy

GetTransferOwnershipBundle()

public PersistableBundle GetTransferOwnershipBundle()

Returns

PersistableBundle

PersistableBundle

GetTrustAgentConfiguration(ComponentName, ComponentName)

public List<PersistableBundle> GetTrustAgentConfiguration(ComponentName arg0, ComponentName arg1)

Parameters

arg0 ComponentName

ComponentName

arg1 ComponentName

ComponentName

Returns

List<PersistableBundle>

List

GetUserControlDisabledPackages(ComponentName)

public List<String> GetUserControlDisabledPackages(ComponentName arg0)

Parameters

arg0 ComponentName

ComponentName

Returns

List<String>

List

GetUserRestrictions(ComponentName)

public Bundle GetUserRestrictions(ComponentName arg0)

Parameters

arg0 ComponentName

ComponentName

Returns

Bundle

Bundle

GetUserRestrictionsGlobally()

public Bundle GetUserRestrictionsGlobally()

Returns

Bundle

Bundle

GetWifiMacAddress(ComponentName)

public String GetWifiMacAddress(ComponentName arg0)

Parameters

arg0 ComponentName

ComponentName

Returns

String

String

GetWifiSsidPolicy()

public WifiSsidPolicy GetWifiSsidPolicy()

Returns

WifiSsidPolicy

WifiSsidPolicy

GrantKeyPairToApp(ComponentName, String, String)

public bool GrantKeyPairToApp(ComponentName arg0, String arg1, String arg2)

Parameters

arg0 ComponentName

ComponentName

arg1 String

String

arg2 String

String

Returns

bool

bool

GrantKeyPairToWifiAuth(String)

public bool GrantKeyPairToWifiAuth(String arg0)

Parameters

arg0 String

String

Returns

bool

bool

HasCaCertInstalled(ComponentName, byte[])

public bool HasCaCertInstalled(ComponentName arg0, byte[] arg1)

Parameters

arg0 ComponentName

ComponentName

arg1 byte[]

byte

Returns

bool

bool

HasGrantedPolicy(ComponentName, int)

public bool HasGrantedPolicy(ComponentName arg0, int arg1)

Parameters

arg0 ComponentName

ComponentName

arg1 int

int

Returns

bool

bool

HasKeyPair(String)

public bool HasKeyPair(String arg0)

Parameters

arg0 String

String

Returns

bool

bool

HasLockdownAdminConfiguredNetworks(ComponentName)

public bool HasLockdownAdminConfiguredNetworks(ComponentName arg0)

Parameters

arg0 ComponentName

ComponentName

Returns

bool

bool

InstallCaCert(ComponentName, byte[])

public bool InstallCaCert(ComponentName arg0, byte[] arg1)

Parameters

arg0 ComponentName

ComponentName

arg1 byte[]

byte

Returns

bool

bool

InstallExistingPackage(ComponentName, String)

public bool InstallExistingPackage(ComponentName arg0, String arg1)

Parameters

arg0 ComponentName

ComponentName

arg1 String

String

Returns

bool

bool

InstallKeyPair(ComponentName, PrivateKey, Certificate, String)

public bool InstallKeyPair(ComponentName arg0, PrivateKey arg1, Certificate arg2, String arg3)

Parameters

arg0 ComponentName

ComponentName

arg1 PrivateKey

PrivateKey

arg2 Certificate

Certificate

arg3 String

String

Returns

bool

bool

InstallKeyPair(ComponentName, PrivateKey, Certificate[], String, bool)

public bool InstallKeyPair(ComponentName arg0, PrivateKey arg1, Certificate[] arg2, String arg3, bool arg4)

Parameters

arg0 ComponentName

ComponentName

arg1 PrivateKey

PrivateKey

arg2 Certificate[]

Certificate

arg3 String

String

arg4 bool

bool

Returns

bool

bool

InstallKeyPair(ComponentName, PrivateKey, Certificate[], String, int)

public bool InstallKeyPair(ComponentName arg0, PrivateKey arg1, Certificate[] arg2, String arg3, int arg4)

Parameters

arg0 ComponentName

ComponentName

arg1 PrivateKey

PrivateKey

arg2 Certificate[]

Certificate

arg3 String

String

arg4 int

int

Returns

bool

bool

InstallSystemUpdate(ComponentName, Uri, Executor, InstallSystemUpdateCallback)

public void InstallSystemUpdate(ComponentName arg0, Uri arg1, Executor arg2, DevicePolicyManager.InstallSystemUpdateCallback arg3)

Parameters

arg0 ComponentName

ComponentName

arg1 Uri

Uri

arg2 Executor

Executor

arg3 DevicePolicyManager.InstallSystemUpdateCallback

DevicePolicyManager.InstallSystemUpdateCallback

IsActivePasswordSufficient()

public bool IsActivePasswordSufficient()

Returns

bool

bool

IsActivePasswordSufficientForDeviceRequirement()

public bool IsActivePasswordSufficientForDeviceRequirement()

Returns

bool

bool

IsAdminActive(ComponentName)

public bool IsAdminActive(ComponentName arg0)

Parameters

arg0 ComponentName

ComponentName

Returns

bool

bool

IsAffiliatedUser()

public bool IsAffiliatedUser()

Returns

bool

bool

IsAlwaysOnVpnLockdownEnabled(ComponentName)

public bool IsAlwaysOnVpnLockdownEnabled(ComponentName arg0)

Parameters

arg0 ComponentName

ComponentName

Returns

bool

bool

IsApplicationHidden(ComponentName, String)

public bool IsApplicationHidden(ComponentName arg0, String arg1)

Parameters

arg0 ComponentName

ComponentName

arg1 String

String

Returns

bool

bool

IsBackupServiceEnabled(ComponentName)

public bool IsBackupServiceEnabled(ComponentName arg0)

Parameters

arg0 ComponentName

ComponentName

Returns

bool

bool

IsCallerApplicationRestrictionsManagingPackage()

[Obsolete]
public bool IsCallerApplicationRestrictionsManagingPackage()

Returns

bool

bool

IsCommonCriteriaModeEnabled(ComponentName)

public bool IsCommonCriteriaModeEnabled(ComponentName arg0)

Parameters

arg0 ComponentName

ComponentName

Returns

bool

bool

IsComplianceAcknowledgementRequired()

public bool IsComplianceAcknowledgementRequired()

Returns

bool

bool

IsDeviceFinanced()

public bool IsDeviceFinanced()

Returns

bool

bool

IsDeviceIdAttestationSupported()

public bool IsDeviceIdAttestationSupported()

Returns

bool

bool

IsDeviceOwnerApp(String)

public bool IsDeviceOwnerApp(String arg0)

Parameters

arg0 String

String

Returns

bool

bool

IsEphemeralUser(ComponentName)

public bool IsEphemeralUser(ComponentName arg0)

Parameters

arg0 ComponentName

ComponentName

Returns

bool

bool

IsKeyPairGrantedToWifiAuth(String)

public bool IsKeyPairGrantedToWifiAuth(String arg0)

Parameters

arg0 String

String

Returns

bool

bool

IsLockTaskPermitted(String)

public bool IsLockTaskPermitted(String arg0)

Parameters

arg0 String

String

Returns

bool

bool

IsLogoutEnabled()

public bool IsLogoutEnabled()

Returns

bool

bool

IsManagedProfile(ComponentName)

public bool IsManagedProfile(ComponentName arg0)

Parameters

arg0 ComponentName

ComponentName

Returns

bool

bool

IsMasterVolumeMuted(ComponentName)

public bool IsMasterVolumeMuted(ComponentName arg0)

Parameters

arg0 ComponentName

ComponentName

Returns

bool

bool

IsMtePolicyEnforced()

public static bool IsMtePolicyEnforced()

Returns

bool

bool

IsNetworkLoggingEnabled(ComponentName)

public bool IsNetworkLoggingEnabled(ComponentName arg0)

Parameters

arg0 ComponentName

ComponentName

Returns

bool

bool

IsOrganizationOwnedDeviceWithManagedProfile()

public bool IsOrganizationOwnedDeviceWithManagedProfile()

Returns

bool

bool

IsOverrideApnEnabled(ComponentName)

public bool IsOverrideApnEnabled(ComponentName arg0)

Parameters

arg0 ComponentName

ComponentName

Returns

bool

bool

IsPackageSuspended(ComponentName, String)

public bool IsPackageSuspended(ComponentName arg0, String arg1)

Parameters

arg0 ComponentName

ComponentName

arg1 String

String

Returns

bool

bool

Exceptions

PackageManager.NameNotFoundException

IsPreferentialNetworkServiceEnabled()

public bool IsPreferentialNetworkServiceEnabled()

Returns

bool

bool

IsProfileOwnerApp(String)

public bool IsProfileOwnerApp(String arg0)

Parameters

arg0 String

String

Returns

bool

bool

IsProvisioningAllowed(String)

public bool IsProvisioningAllowed(String arg0)

Parameters

arg0 String

String

Returns

bool

bool

IsResetPasswordTokenActive(ComponentName)

public bool IsResetPasswordTokenActive(ComponentName arg0)

Parameters

arg0 ComponentName

ComponentName

Returns

bool

bool

IsSafeOperation(int)

public bool IsSafeOperation(int arg0)

Parameters

arg0 int

int

Returns

bool

bool

IsSecurityLoggingEnabled(ComponentName)

public bool IsSecurityLoggingEnabled(ComponentName arg0)

Parameters

arg0 ComponentName

ComponentName

Returns

bool

bool

IsStatusBarDisabled()

public bool IsStatusBarDisabled()

Returns

bool

bool

IsUninstallBlocked(ComponentName, String)

public bool IsUninstallBlocked(ComponentName arg0, String arg1)

Parameters

arg0 ComponentName

ComponentName

arg1 String

String

Returns

bool

bool

IsUniqueDeviceAttestationSupported()

public bool IsUniqueDeviceAttestationSupported()

Returns

bool

bool

IsUsbDataSignalingEnabled()

public bool IsUsbDataSignalingEnabled()

Returns

bool

bool

IsUsingUnifiedPassword(ComponentName)

public bool IsUsingUnifiedPassword(ComponentName arg0)

Parameters

arg0 ComponentName

ComponentName

Returns

bool

bool

ListForegroundAffiliatedUsers()

public List<UserHandle> ListForegroundAffiliatedUsers()

Returns

List<UserHandle>

List

LockNow()

public void LockNow()

LockNow(int)

public void LockNow(int arg0)

Parameters

arg0 int

int

LogoutUser(ComponentName)

public int LogoutUser(ComponentName arg0)

Parameters

arg0 ComponentName

ComponentName

Returns

int

int

Reboot(ComponentName)

public void Reboot(ComponentName arg0)

Parameters

arg0 ComponentName

ComponentName

RemoveActiveAdmin(ComponentName)

public void RemoveActiveAdmin(ComponentName arg0)

Parameters

arg0 ComponentName

ComponentName

RemoveCrossProfileWidgetProvider(ComponentName, String)

public bool RemoveCrossProfileWidgetProvider(ComponentName arg0, String arg1)

Parameters

arg0 ComponentName

ComponentName

arg1 String

String

Returns

bool

bool

RemoveKeyPair(ComponentName, String)

public bool RemoveKeyPair(ComponentName arg0, String arg1)

Parameters

arg0 ComponentName

ComponentName

arg1 String

String

Returns

bool

bool

RemoveOverrideApn(ComponentName, int)

public bool RemoveOverrideApn(ComponentName arg0, int arg1)

Parameters

arg0 ComponentName

ComponentName

arg1 int

int

Returns

bool

bool

RemoveUser(ComponentName, UserHandle)

public bool RemoveUser(ComponentName arg0, UserHandle arg1)

Parameters

arg0 ComponentName

ComponentName

arg1 UserHandle

UserHandle

Returns

bool

bool

RequestBugreport(ComponentName)

public bool RequestBugreport(ComponentName arg0)

Parameters

arg0 ComponentName

ComponentName

Returns

bool

bool

ResetPassword(String, int)

[Obsolete]
public bool ResetPassword(String arg0, int arg1)

Parameters

arg0 String

String

arg1 int

int

Returns

bool

bool

ResetPasswordWithToken(ComponentName, String, byte[], int)

public bool ResetPasswordWithToken(ComponentName arg0, String arg1, byte[] arg2, int arg3)

Parameters

arg0 ComponentName

ComponentName

arg1 String

String

arg2 byte[]

byte

arg3 int

int

Returns

bool

bool

RetrieveNetworkLogs(ComponentName, long)

public List<NetworkEvent> RetrieveNetworkLogs(ComponentName arg0, long arg1)

Parameters

arg0 ComponentName

ComponentName

arg1 long

long

Returns

List<NetworkEvent>

List

RetrievePreRebootSecurityLogs(ComponentName)

public List<SecurityLog.SecurityEvent> RetrievePreRebootSecurityLogs(ComponentName arg0)

Parameters

arg0 ComponentName

ComponentName

Returns

List<SecurityLog.SecurityEvent>

List

RetrieveSecurityLogs(ComponentName)

public List<SecurityLog.SecurityEvent> RetrieveSecurityLogs(ComponentName arg0)

Parameters

arg0 ComponentName

ComponentName

Returns

List<SecurityLog.SecurityEvent>

List

RevokeKeyPairFromApp(ComponentName, String, String)

public bool RevokeKeyPairFromApp(ComponentName arg0, String arg1, String arg2)

Parameters

arg0 ComponentName

ComponentName

arg1 String

String

arg2 String

String

Returns

bool

bool

RevokeKeyPairFromWifiAuth(String)

public bool RevokeKeyPairFromWifiAuth(String arg0)

Parameters

arg0 String

String

Returns

bool

bool

SetAccountManagementDisabled(ComponentName, String, bool)

public void SetAccountManagementDisabled(ComponentName arg0, String arg1, bool arg2)

Parameters

arg0 ComponentName

ComponentName

arg1 String

String

arg2 bool

bool

SetAffiliationIds(ComponentName, Set<String>)

public void SetAffiliationIds(ComponentName arg0, Set<String> arg1)

Parameters

arg0 ComponentName

ComponentName

arg1 Set<String>

Set

SetAlwaysOnVpnPackage(ComponentName, String, bool)

public void SetAlwaysOnVpnPackage(ComponentName arg0, String arg1, bool arg2)

Parameters

arg0 ComponentName

ComponentName

arg1 String

String

arg2 bool

bool

Exceptions

PackageManager.NameNotFoundException

SetAlwaysOnVpnPackage(ComponentName, String, bool, Set<String>)

public void SetAlwaysOnVpnPackage(ComponentName arg0, String arg1, bool arg2, Set<String> arg3)

Parameters

arg0 ComponentName

ComponentName

arg1 String

String

arg2 bool

bool

arg3 Set<String>

Set

Exceptions

PackageManager.NameNotFoundException

SetApplicationHidden(ComponentName, String, bool)

public bool SetApplicationHidden(ComponentName arg0, String arg1, bool arg2)

Parameters

arg0 ComponentName

ComponentName

arg1 String

String

arg2 bool

bool

Returns

bool

bool

SetApplicationRestrictions(ComponentName, String, Bundle)

public void SetApplicationRestrictions(ComponentName arg0, String arg1, Bundle arg2)

Parameters

arg0 ComponentName

ComponentName

arg1 String

String

arg2 Bundle

Bundle

SetApplicationRestrictionsManagingPackage(ComponentName, String)

[Obsolete]
public void SetApplicationRestrictionsManagingPackage(ComponentName arg0, String arg1)

Parameters

arg0 ComponentName

ComponentName

arg1 String

String

Exceptions

PackageManager.NameNotFoundException

SetAutoTimeEnabled(ComponentName, bool)

public void SetAutoTimeEnabled(ComponentName arg0, bool arg1)

Parameters

arg0 ComponentName

ComponentName

arg1 bool

bool

SetAutoTimeRequired(ComponentName, bool)

[Obsolete]
public void SetAutoTimeRequired(ComponentName arg0, bool arg1)

Parameters

arg0 ComponentName

ComponentName

arg1 bool

bool

SetAutoTimeZoneEnabled(ComponentName, bool)

public void SetAutoTimeZoneEnabled(ComponentName arg0, bool arg1)

Parameters

arg0 ComponentName

ComponentName

arg1 bool

bool

SetBackupServiceEnabled(ComponentName, bool)

public void SetBackupServiceEnabled(ComponentName arg0, bool arg1)

Parameters

arg0 ComponentName

ComponentName

arg1 bool

bool

SetBluetoothContactSharingDisabled(ComponentName, bool)

public void SetBluetoothContactSharingDisabled(ComponentName arg0, bool arg1)

Parameters

arg0 ComponentName

ComponentName

arg1 bool

bool

SetCameraDisabled(ComponentName, bool)

public void SetCameraDisabled(ComponentName arg0, bool arg1)

Parameters

arg0 ComponentName

ComponentName

arg1 bool

bool

SetCertInstallerPackage(ComponentName, String)

[Obsolete]
public void SetCertInstallerPackage(ComponentName arg0, String arg1)

Parameters

arg0 ComponentName

ComponentName

arg1 String

String

Exceptions

SecurityException

SetCommonCriteriaModeEnabled(ComponentName, bool)

public void SetCommonCriteriaModeEnabled(ComponentName arg0, bool arg1)

Parameters

arg0 ComponentName

ComponentName

arg1 bool

bool

SetConfiguredNetworksLockdownState(ComponentName, bool)

public void SetConfiguredNetworksLockdownState(ComponentName arg0, bool arg1)

Parameters

arg0 ComponentName

ComponentName

arg1 bool

bool

SetContentProtectionPolicy(ComponentName, int)

public void SetContentProtectionPolicy(ComponentName arg0, int arg1)

Parameters

arg0 ComponentName

ComponentName

arg1 int

int

SetCredentialManagerPolicy(PackagePolicy)

public void SetCredentialManagerPolicy(PackagePolicy arg0)

Parameters

arg0 PackagePolicy

PackagePolicy

SetCrossProfileCalendarPackages(ComponentName, Set<String>)

[Obsolete]
public void SetCrossProfileCalendarPackages(ComponentName arg0, Set<String> arg1)

Parameters

arg0 ComponentName

ComponentName

arg1 Set<String>

Set

SetCrossProfileCallerIdDisabled(ComponentName, bool)

[Obsolete]
public void SetCrossProfileCallerIdDisabled(ComponentName arg0, bool arg1)

Parameters

arg0 ComponentName

ComponentName

arg1 bool

bool

SetCrossProfileContactsSearchDisabled(ComponentName, bool)

[Obsolete]
public void SetCrossProfileContactsSearchDisabled(ComponentName arg0, bool arg1)

Parameters

arg0 ComponentName

ComponentName

arg1 bool

bool

SetCrossProfilePackages(ComponentName, Set<String>)

public void SetCrossProfilePackages(ComponentName arg0, Set<String> arg1)

Parameters

arg0 ComponentName

ComponentName

arg1 Set<String>

Set

SetDefaultDialerApplication(String)

public void SetDefaultDialerApplication(String arg0)

Parameters

arg0 String

String

SetDefaultSmsApplication(ComponentName, String)

public void SetDefaultSmsApplication(ComponentName arg0, String arg1)

Parameters

arg0 ComponentName

ComponentName

arg1 String

String

SetDelegatedScopes(ComponentName, String, List<String>)

public void SetDelegatedScopes(ComponentName arg0, String arg1, List<String> arg2)

Parameters

arg0 ComponentName

ComponentName

arg1 String

String

arg2 List<String>

List

SetDeviceOwnerLockScreenInfo(ComponentName, CharSequence)

public void SetDeviceOwnerLockScreenInfo(ComponentName arg0, CharSequence arg1)

Parameters

arg0 ComponentName

ComponentName

arg1 CharSequence

CharSequence

SetEndUserSessionMessage(ComponentName, CharSequence)

public void SetEndUserSessionMessage(ComponentName arg0, CharSequence arg1)

Parameters

arg0 ComponentName

ComponentName

arg1 CharSequence

CharSequence

SetFactoryResetProtectionPolicy(ComponentName, FactoryResetProtectionPolicy)

public void SetFactoryResetProtectionPolicy(ComponentName arg0, FactoryResetProtectionPolicy arg1)

Parameters

arg0 ComponentName

ComponentName

arg1 FactoryResetProtectionPolicy

FactoryResetProtectionPolicy

SetGlobalPrivateDnsModeOpportunistic(ComponentName)

public int SetGlobalPrivateDnsModeOpportunistic(ComponentName arg0)

Parameters

arg0 ComponentName

ComponentName

Returns

int

int

SetGlobalPrivateDnsModeSpecifiedHost(ComponentName, String)

public int SetGlobalPrivateDnsModeSpecifiedHost(ComponentName arg0, String arg1)

Parameters

arg0 ComponentName

ComponentName

arg1 String

String

Returns

int

int

SetGlobalSetting(ComponentName, String, String)

public void SetGlobalSetting(ComponentName arg0, String arg1, String arg2)

Parameters

arg0 ComponentName

ComponentName

arg1 String

String

arg2 String

String

SetKeepUninstalledPackages(ComponentName, List<String>)

public void SetKeepUninstalledPackages(ComponentName arg0, List<String> arg1)

Parameters

arg0 ComponentName

ComponentName

arg1 List<String>

List

SetKeyPairCertificate(ComponentName, String, List<Certificate>, bool)

public bool SetKeyPairCertificate(ComponentName arg0, String arg1, List<Certificate> arg2, bool arg3)

Parameters

arg0 ComponentName

ComponentName

arg1 String

String

arg2 List<Certificate>

List

arg3 bool

bool

Returns

bool

bool

SetKeyguardDisabled(ComponentName, bool)

public bool SetKeyguardDisabled(ComponentName arg0, bool arg1)

Parameters

arg0 ComponentName

ComponentName

arg1 bool

bool

Returns

bool

bool

SetKeyguardDisabledFeatures(ComponentName, int)

public void SetKeyguardDisabledFeatures(ComponentName arg0, int arg1)

Parameters

arg0 ComponentName

ComponentName

arg1 int

int

SetLocationEnabled(ComponentName, bool)

public void SetLocationEnabled(ComponentName arg0, bool arg1)

Parameters

arg0 ComponentName

ComponentName

arg1 bool

bool

SetLockTaskFeatures(ComponentName, int)

public void SetLockTaskFeatures(ComponentName arg0, int arg1)

Parameters

arg0 ComponentName

ComponentName

arg1 int

int

SetLockTaskPackages(ComponentName, String[])

public void SetLockTaskPackages(ComponentName arg0, String[] arg1)

Parameters

arg0 ComponentName

ComponentName

arg1 String[]

String

Exceptions

SecurityException

SetLogoutEnabled(ComponentName, bool)

public void SetLogoutEnabled(ComponentName arg0, bool arg1)

Parameters

arg0 ComponentName

ComponentName

arg1 bool

bool

SetLongSupportMessage(ComponentName, CharSequence)

public void SetLongSupportMessage(ComponentName arg0, CharSequence arg1)

Parameters

arg0 ComponentName

ComponentName

arg1 CharSequence

CharSequence

SetManagedProfileCallerIdAccessPolicy(PackagePolicy)

public void SetManagedProfileCallerIdAccessPolicy(PackagePolicy arg0)

Parameters

arg0 PackagePolicy

PackagePolicy

SetManagedProfileContactsAccessPolicy(PackagePolicy)

public void SetManagedProfileContactsAccessPolicy(PackagePolicy arg0)

Parameters

arg0 PackagePolicy

PackagePolicy

SetManagedProfileMaximumTimeOff(ComponentName, long)

public void SetManagedProfileMaximumTimeOff(ComponentName arg0, long arg1)

Parameters

arg0 ComponentName

ComponentName

arg1 long

long

SetManagedSubscriptionsPolicy(ManagedSubscriptionsPolicy)

public void SetManagedSubscriptionsPolicy(ManagedSubscriptionsPolicy arg0)

Parameters

arg0 ManagedSubscriptionsPolicy

ManagedSubscriptionsPolicy

SetMasterVolumeMuted(ComponentName, bool)

public void SetMasterVolumeMuted(ComponentName arg0, bool arg1)

Parameters

arg0 ComponentName

ComponentName

arg1 bool

bool

SetMaximumFailedPasswordsForWipe(ComponentName, int)

public void SetMaximumFailedPasswordsForWipe(ComponentName arg0, int arg1)

Parameters

arg0 ComponentName

ComponentName

arg1 int

int

SetMaximumTimeToLock(ComponentName, long)

public void SetMaximumTimeToLock(ComponentName arg0, long arg1)

Parameters

arg0 ComponentName

ComponentName

arg1 long

long

SetMeteredDataDisabledPackages(ComponentName, List<String>)

public List<String> SetMeteredDataDisabledPackages(ComponentName arg0, List<String> arg1)

Parameters

arg0 ComponentName

ComponentName

arg1 List<String>

List

Returns

List<String>

List

SetMinimumRequiredWifiSecurityLevel(int)

public void SetMinimumRequiredWifiSecurityLevel(int arg0)

Parameters

arg0 int

int

SetMtePolicy(int)

public void SetMtePolicy(int arg0)

Parameters

arg0 int

int

SetNearbyAppStreamingPolicy(int)

public void SetNearbyAppStreamingPolicy(int arg0)

Parameters

arg0 int

int

SetNearbyNotificationStreamingPolicy(int)

public void SetNearbyNotificationStreamingPolicy(int arg0)

Parameters

arg0 int

int

SetNetworkLoggingEnabled(ComponentName, bool)

public void SetNetworkLoggingEnabled(ComponentName arg0, bool arg1)

Parameters

arg0 ComponentName

ComponentName

arg1 bool

bool

SetOrganizationColor(ComponentName, int)

[Obsolete]
public void SetOrganizationColor(ComponentName arg0, int arg1)

Parameters

arg0 ComponentName

ComponentName

arg1 int

int

SetOrganizationId(String)

public void SetOrganizationId(String arg0)

Parameters

arg0 String

String

SetOrganizationName(ComponentName, CharSequence)

public void SetOrganizationName(ComponentName arg0, CharSequence arg1)

Parameters

arg0 ComponentName

ComponentName

arg1 CharSequence

CharSequence

SetOverrideApnsEnabled(ComponentName, bool)

public void SetOverrideApnsEnabled(ComponentName arg0, bool arg1)

Parameters

arg0 ComponentName

ComponentName

arg1 bool

bool

SetPackagesSuspended(ComponentName, String[], bool)

public String[] SetPackagesSuspended(ComponentName arg0, String[] arg1, bool arg2)

Parameters

arg0 ComponentName

ComponentName

arg1 String[]

String

arg2 bool

bool

Returns

String[]

String

SetPasswordExpirationTimeout(ComponentName, long)

public void SetPasswordExpirationTimeout(ComponentName arg0, long arg1)

Parameters

arg0 ComponentName

ComponentName

arg1 long

long

SetPasswordHistoryLength(ComponentName, int)

public void SetPasswordHistoryLength(ComponentName arg0, int arg1)

Parameters

arg0 ComponentName

ComponentName

arg1 int

int

SetPasswordMinimumLength(ComponentName, int)

[Obsolete]
public void SetPasswordMinimumLength(ComponentName arg0, int arg1)

Parameters

arg0 ComponentName

ComponentName

arg1 int

int

SetPasswordMinimumLetters(ComponentName, int)

[Obsolete]
public void SetPasswordMinimumLetters(ComponentName arg0, int arg1)

Parameters

arg0 ComponentName

ComponentName

arg1 int

int

SetPasswordMinimumLowerCase(ComponentName, int)

[Obsolete]
public void SetPasswordMinimumLowerCase(ComponentName arg0, int arg1)

Parameters

arg0 ComponentName

ComponentName

arg1 int

int

SetPasswordMinimumNonLetter(ComponentName, int)

[Obsolete]
public void SetPasswordMinimumNonLetter(ComponentName arg0, int arg1)

Parameters

arg0 ComponentName

ComponentName

arg1 int

int

SetPasswordMinimumNumeric(ComponentName, int)

[Obsolete]
public void SetPasswordMinimumNumeric(ComponentName arg0, int arg1)

Parameters

arg0 ComponentName

ComponentName

arg1 int

int

SetPasswordMinimumSymbols(ComponentName, int)

[Obsolete]
public void SetPasswordMinimumSymbols(ComponentName arg0, int arg1)

Parameters

arg0 ComponentName

ComponentName

arg1 int

int

SetPasswordMinimumUpperCase(ComponentName, int)

[Obsolete]
public void SetPasswordMinimumUpperCase(ComponentName arg0, int arg1)

Parameters

arg0 ComponentName

ComponentName

arg1 int

int

SetPasswordQuality(ComponentName, int)

[Obsolete]
public void SetPasswordQuality(ComponentName arg0, int arg1)

Parameters

arg0 ComponentName

ComponentName

arg1 int

int

SetPermissionGrantState(ComponentName, String, String, int)

public bool SetPermissionGrantState(ComponentName arg0, String arg1, String arg2, int arg3)

Parameters

arg0 ComponentName

ComponentName

arg1 String

String

arg2 String

String

arg3 int

int

Returns

bool

bool

SetPermissionPolicy(ComponentName, int)

public void SetPermissionPolicy(ComponentName arg0, int arg1)

Parameters

arg0 ComponentName

ComponentName

arg1 int

int

SetPermittedAccessibilityServices(ComponentName, List<String>)

public bool SetPermittedAccessibilityServices(ComponentName arg0, List<String> arg1)

Parameters

arg0 ComponentName

ComponentName

arg1 List<String>

List

Returns

bool

bool

SetPermittedCrossProfileNotificationListeners(ComponentName, List<String>)

public bool SetPermittedCrossProfileNotificationListeners(ComponentName arg0, List<String> arg1)

Parameters

arg0 ComponentName

ComponentName

arg1 List<String>

List

Returns

bool

bool

SetPermittedInputMethods(ComponentName, List<String>)

public bool SetPermittedInputMethods(ComponentName arg0, List<String> arg1)

Parameters

arg0 ComponentName

ComponentName

arg1 List<String>

List

Returns

bool

bool

SetPersonalAppsSuspended(ComponentName, bool)

public void SetPersonalAppsSuspended(ComponentName arg0, bool arg1)

Parameters

arg0 ComponentName

ComponentName

arg1 bool

bool

SetPreferentialNetworkServiceConfigs(List<PreferentialNetworkServiceConfig>)

public void SetPreferentialNetworkServiceConfigs(List<PreferentialNetworkServiceConfig> arg0)

Parameters

arg0 List<PreferentialNetworkServiceConfig>

List

SetPreferentialNetworkServiceEnabled(bool)

public void SetPreferentialNetworkServiceEnabled(bool arg0)

Parameters

arg0 bool

bool

SetProfileEnabled(ComponentName)

public void SetProfileEnabled(ComponentName arg0)

Parameters

arg0 ComponentName

ComponentName

SetProfileName(ComponentName, String)

public void SetProfileName(ComponentName arg0, String arg1)

Parameters

arg0 ComponentName

ComponentName

arg1 String

String

SetRecommendedGlobalProxy(ComponentName, ProxyInfo)

public void SetRecommendedGlobalProxy(ComponentName arg0, ProxyInfo arg1)

Parameters

arg0 ComponentName

ComponentName

arg1 ProxyInfo

ProxyInfo

SetRequiredPasswordComplexity(int)

public void SetRequiredPasswordComplexity(int arg0)

Parameters

arg0 int

int

SetRequiredStrongAuthTimeout(ComponentName, long)

public void SetRequiredStrongAuthTimeout(ComponentName arg0, long arg1)

Parameters

arg0 ComponentName

ComponentName

arg1 long

long

SetResetPasswordToken(ComponentName, byte[])

public bool SetResetPasswordToken(ComponentName arg0, byte[] arg1)

Parameters

arg0 ComponentName

ComponentName

arg1 byte[]

byte

Returns

bool

bool

SetRestrictionsProvider(ComponentName, ComponentName)

public void SetRestrictionsProvider(ComponentName arg0, ComponentName arg1)

Parameters

arg0 ComponentName

ComponentName

arg1 ComponentName

ComponentName

SetScreenCaptureDisabled(ComponentName, bool)

public void SetScreenCaptureDisabled(ComponentName arg0, bool arg1)

Parameters

arg0 ComponentName

ComponentName

arg1 bool

bool

SetSecureSetting(ComponentName, String, String)

public void SetSecureSetting(ComponentName arg0, String arg1, String arg2)

Parameters

arg0 ComponentName

ComponentName

arg1 String

String

arg2 String

String

SetSecurityLoggingEnabled(ComponentName, bool)

public void SetSecurityLoggingEnabled(ComponentName arg0, bool arg1)

Parameters

arg0 ComponentName

ComponentName

arg1 bool

bool

SetShortSupportMessage(ComponentName, CharSequence)

public void SetShortSupportMessage(ComponentName arg0, CharSequence arg1)

Parameters

arg0 ComponentName

ComponentName

arg1 CharSequence

CharSequence

SetStartUserSessionMessage(ComponentName, CharSequence)

public void SetStartUserSessionMessage(ComponentName arg0, CharSequence arg1)

Parameters

arg0 ComponentName

ComponentName

arg1 CharSequence

CharSequence

SetStatusBarDisabled(ComponentName, bool)

public bool SetStatusBarDisabled(ComponentName arg0, bool arg1)

Parameters

arg0 ComponentName

ComponentName

arg1 bool

bool

Returns

bool

bool

SetStorageEncryption(ComponentName, bool)

[Obsolete]
public int SetStorageEncryption(ComponentName arg0, bool arg1)

Parameters

arg0 ComponentName

ComponentName

arg1 bool

bool

Returns

int

int

SetSystemSetting(ComponentName, String, String)

public void SetSystemSetting(ComponentName arg0, String arg1, String arg2)

Parameters

arg0 ComponentName

ComponentName

arg1 String

String

arg2 String

String

SetSystemUpdatePolicy(ComponentName, SystemUpdatePolicy)

public void SetSystemUpdatePolicy(ComponentName arg0, SystemUpdatePolicy arg1)

Parameters

arg0 ComponentName

ComponentName

arg1 SystemUpdatePolicy

SystemUpdatePolicy

SetTime(ComponentName, long)

public bool SetTime(ComponentName arg0, long arg1)

Parameters

arg0 ComponentName

ComponentName

arg1 long

long

Returns

bool

bool

SetTimeZone(ComponentName, String)

public bool SetTimeZone(ComponentName arg0, String arg1)

Parameters

arg0 ComponentName

ComponentName

arg1 String

String

Returns

bool

bool

SetTrustAgentConfiguration(ComponentName, ComponentName, PersistableBundle)

public void SetTrustAgentConfiguration(ComponentName arg0, ComponentName arg1, PersistableBundle arg2)

Parameters

arg0 ComponentName

ComponentName

arg1 ComponentName

ComponentName

arg2 PersistableBundle

PersistableBundle

SetUninstallBlocked(ComponentName, String, bool)

public void SetUninstallBlocked(ComponentName arg0, String arg1, bool arg2)

Parameters

arg0 ComponentName

ComponentName

arg1 String

String

arg2 bool

bool

SetUsbDataSignalingEnabled(bool)

public void SetUsbDataSignalingEnabled(bool arg0)

Parameters

arg0 bool

bool

SetUserControlDisabledPackages(ComponentName, List<String>)

public void SetUserControlDisabledPackages(ComponentName arg0, List<String> arg1)

Parameters

arg0 ComponentName

ComponentName

arg1 List<String>

List

SetUserIcon(ComponentName, Bitmap)

public void SetUserIcon(ComponentName arg0, Bitmap arg1)

Parameters

arg0 ComponentName

ComponentName

arg1 Bitmap

Bitmap

SetWifiSsidPolicy(WifiSsidPolicy)

public void SetWifiSsidPolicy(WifiSsidPolicy arg0)

Parameters

arg0 WifiSsidPolicy

WifiSsidPolicy

StartUserInBackground(ComponentName, UserHandle)

public int StartUserInBackground(ComponentName arg0, UserHandle arg1)

Parameters

arg0 ComponentName

ComponentName

arg1 UserHandle

UserHandle

Returns

int

int

StopUser(ComponentName, UserHandle)

public int StopUser(ComponentName arg0, UserHandle arg1)

Parameters

arg0 ComponentName

ComponentName

arg1 UserHandle

UserHandle

Returns

int

int

SwitchUser(ComponentName, UserHandle)

public bool SwitchUser(ComponentName arg0, UserHandle arg1)

Parameters

arg0 ComponentName

ComponentName

arg1 UserHandle

UserHandle

Returns

bool

bool

TransferOwnership(ComponentName, ComponentName, PersistableBundle)

public void TransferOwnership(ComponentName arg0, ComponentName arg1, PersistableBundle arg2)

Parameters

arg0 ComponentName

ComponentName

arg1 ComponentName

ComponentName

arg2 PersistableBundle

PersistableBundle

UninstallAllUserCaCerts(ComponentName)

public void UninstallAllUserCaCerts(ComponentName arg0)

Parameters

arg0 ComponentName

ComponentName

UninstallCaCert(ComponentName, byte[])

public void UninstallCaCert(ComponentName arg0, byte[] arg1)

Parameters

arg0 ComponentName

ComponentName

arg1 byte[]

byte

UpdateOverrideApn(ComponentName, int, ApnSetting)

public bool UpdateOverrideApn(ComponentName arg0, int arg1, ApnSetting arg2)

Parameters

arg0 ComponentName

ComponentName

arg1 int

int

arg2 ApnSetting

ApnSetting

Returns

bool

bool

WipeData(int)

public void WipeData(int arg0)

Parameters

arg0 int

int

WipeData(int, CharSequence)

public void WipeData(int arg0, CharSequence arg1)

Parameters

arg0 int

int

arg1 CharSequence

CharSequence

WipeDevice(int)

public void WipeDevice(int arg0)

Parameters

arg0 int

int