Class DevicePolicyManager
public class DevicePolicyManager : JVMBridgeBase<DevicePolicyManager>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<DevicePolicyManager>DevicePolicyManager
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Inherited Members
-
JVMBridgeBase<DevicePolicyManager>.SExecuteWithSignature(IJavaType, string, string, params object[])JVMBridgeBase<DevicePolicyManager>.SExecute<TNewClass, TReturn, TConverter>(string, params object[])JVMBridgeBase<DevicePolicyManager>.IsAssignableFrom(IJavaType)JVMBridgeBase<DevicePolicyManager>.IsAssignableFrom<T>()JVMBridgeBase<DevicePolicyManager>.Execute<T>(params T[])JVMBridgeBase<DevicePolicyManager>.DynBridgeClazzJVMBridgeBase<DevicePolicyManager>.BridgeClazzJVMBridgeBase.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.IExecuteWithSignature<TNewClass, TReturn, TConverter>(string, string, params object[])JVMBridgeBase.DynBridgeInstanceJVMBridgeBase.BridgeInstanceJVMBridgeBase.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
ACTION_ADMIN_POLICY_COMPLIANCE
public static String ACTION_ADMIN_POLICY_COMPLIANCE { get; }
Property Value
ACTION_APPLICATION_DELEGATION_SCOPES_CHANGED
public static String ACTION_APPLICATION_DELEGATION_SCOPES_CHANGED { get; }
Property Value
ACTION_CHECK_POLICY_COMPLIANCE
public static String ACTION_CHECK_POLICY_COMPLIANCE { get; }
Property Value
ACTION_DEVICE_ADMIN_SERVICE
public static String ACTION_DEVICE_ADMIN_SERVICE { get; }
Property Value
ACTION_DEVICE_FINANCING_STATE_CHANGED
public static String ACTION_DEVICE_FINANCING_STATE_CHANGED { get; }
Property Value
ACTION_DEVICE_OWNER_CHANGED
public static String ACTION_DEVICE_OWNER_CHANGED { get; }
Property Value
ACTION_DEVICE_POLICY_RESOURCE_UPDATED
public static String ACTION_DEVICE_POLICY_RESOURCE_UPDATED { get; }
Property Value
ACTION_GET_PROVISIONING_MODE
public static String ACTION_GET_PROVISIONING_MODE { get; }
Property Value
ACTION_MANAGED_PROFILE_PROVISIONED
public static String ACTION_MANAGED_PROFILE_PROVISIONED { get; }
Property Value
ACTION_PROFILE_OWNER_CHANGED
public static String ACTION_PROFILE_OWNER_CHANGED { get; }
Property Value
ACTION_PROVISIONING_SUCCESSFUL
public static String ACTION_PROVISIONING_SUCCESSFUL { get; }
Property Value
ACTION_PROVISION_MANAGED_DEVICE
[Obsolete]
public static String ACTION_PROVISION_MANAGED_DEVICE { get; }
Property Value
ACTION_PROVISION_MANAGED_PROFILE
public static String ACTION_PROVISION_MANAGED_PROFILE { get; }
Property Value
ACTION_SET_NEW_PARENT_PROFILE_PASSWORD
public static String ACTION_SET_NEW_PARENT_PROFILE_PASSWORD { get; }
Property Value
ACTION_SET_NEW_PASSWORD
public static String ACTION_SET_NEW_PASSWORD { get; }
Property Value
ACTION_START_ENCRYPTION
public static String ACTION_START_ENCRYPTION { get; }
Property Value
ACTION_SYSTEM_UPDATE_POLICY_CHANGED
public static String ACTION_SYSTEM_UPDATE_POLICY_CHANGED { get; }
Property Value
BridgeClassName
https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_BridgeClassName.htm
public override string BridgeClassName { get; }
Property Value
CONTENT_PROTECTION_DISABLED
public static int CONTENT_PROTECTION_DISABLED { get; }
Property Value
CONTENT_PROTECTION_ENABLED
public static int CONTENT_PROTECTION_ENABLED { get; }
Property Value
CONTENT_PROTECTION_NOT_CONTROLLED_BY_POLICY
public static int CONTENT_PROTECTION_NOT_CONTROLLED_BY_POLICY { get; }
Property Value
DELEGATION_APP_RESTRICTIONS
public static String DELEGATION_APP_RESTRICTIONS { get; }
Property Value
DELEGATION_BLOCK_UNINSTALL
public static String DELEGATION_BLOCK_UNINSTALL { get; }
Property Value
DELEGATION_CERT_INSTALL
public static String DELEGATION_CERT_INSTALL { get; }
Property Value
DELEGATION_CERT_SELECTION
public static String DELEGATION_CERT_SELECTION { get; }
Property Value
DELEGATION_ENABLE_SYSTEM_APP
public static String DELEGATION_ENABLE_SYSTEM_APP { get; }
Property Value
DELEGATION_INSTALL_EXISTING_PACKAGE
public static String DELEGATION_INSTALL_EXISTING_PACKAGE { get; }
Property Value
DELEGATION_KEEP_UNINSTALLED_PACKAGES
public static String DELEGATION_KEEP_UNINSTALLED_PACKAGES { get; }
Property Value
DELEGATION_NETWORK_LOGGING
public static String DELEGATION_NETWORK_LOGGING { get; }
Property Value
DELEGATION_PACKAGE_ACCESS
public static String DELEGATION_PACKAGE_ACCESS { get; }
Property Value
DELEGATION_PERMISSION_GRANT
public static String DELEGATION_PERMISSION_GRANT { get; }
Property Value
DELEGATION_SECURITY_LOGGING
public static String DELEGATION_SECURITY_LOGGING { get; }
Property Value
ENCRYPTION_STATUS_ACTIVATING
[Obsolete]
public static int ENCRYPTION_STATUS_ACTIVATING { get; }
Property Value
ENCRYPTION_STATUS_ACTIVE
public static int ENCRYPTION_STATUS_ACTIVE { get; }
Property Value
ENCRYPTION_STATUS_ACTIVE_DEFAULT_KEY
public static int ENCRYPTION_STATUS_ACTIVE_DEFAULT_KEY { get; }
Property Value
ENCRYPTION_STATUS_ACTIVE_PER_USER
public static int ENCRYPTION_STATUS_ACTIVE_PER_USER { get; }
Property Value
ENCRYPTION_STATUS_INACTIVE
public static int ENCRYPTION_STATUS_INACTIVE { get; }
Property Value
ENCRYPTION_STATUS_UNSUPPORTED
public static int ENCRYPTION_STATUS_UNSUPPORTED { get; }
Property Value
EXTRA_ADD_EXPLANATION
public static String EXTRA_ADD_EXPLANATION { get; }
Property Value
EXTRA_DELEGATION_SCOPES
public static String EXTRA_DELEGATION_SCOPES { get; }
Property Value
EXTRA_DEVICE_ADMIN
public static String EXTRA_DEVICE_ADMIN { get; }
Property Value
EXTRA_DEVICE_PASSWORD_REQUIREMENT_ONLY
public static String EXTRA_DEVICE_PASSWORD_REQUIREMENT_ONLY { get; }
Property Value
EXTRA_PASSWORD_COMPLEXITY
public static String EXTRA_PASSWORD_COMPLEXITY { get; }
Property Value
EXTRA_PROVISIONING_ACCOUNT_TO_MIGRATE
public static String EXTRA_PROVISIONING_ACCOUNT_TO_MIGRATE { get; }
Property Value
EXTRA_PROVISIONING_ADMIN_EXTRAS_BUNDLE
public static String EXTRA_PROVISIONING_ADMIN_EXTRAS_BUNDLE { get; }
Property Value
EXTRA_PROVISIONING_ALLOWED_PROVISIONING_MODES
public static String EXTRA_PROVISIONING_ALLOWED_PROVISIONING_MODES { get; }
Property Value
EXTRA_PROVISIONING_ALLOW_OFFLINE
public static String EXTRA_PROVISIONING_ALLOW_OFFLINE { get; }
Property Value
EXTRA_PROVISIONING_DEVICE_ADMIN_COMPONENT_NAME
public static String EXTRA_PROVISIONING_DEVICE_ADMIN_COMPONENT_NAME { get; }
Property Value
EXTRA_PROVISIONING_DEVICE_ADMIN_MINIMUM_VERSION_CODE
public static String EXTRA_PROVISIONING_DEVICE_ADMIN_MINIMUM_VERSION_CODE { get; }
Property Value
EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_CHECKSUM
public static String EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_CHECKSUM { get; }
Property Value
EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_DOWNLOAD_COOKIE_HEADER
public static String EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_DOWNLOAD_COOKIE_HEADER { get; }
Property Value
EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_DOWNLOAD_LOCATION
public static String EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_DOWNLOAD_LOCATION { get; }
Property Value
EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_NAME
[Obsolete]
public static String EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_NAME { get; }
Property Value
EXTRA_PROVISIONING_DEVICE_ADMIN_SIGNATURE_CHECKSUM
public static String EXTRA_PROVISIONING_DEVICE_ADMIN_SIGNATURE_CHECKSUM { get; }
Property Value
EXTRA_PROVISIONING_DISCLAIMERS
public static String EXTRA_PROVISIONING_DISCLAIMERS { get; }
Property Value
EXTRA_PROVISIONING_DISCLAIMER_CONTENT
public static String EXTRA_PROVISIONING_DISCLAIMER_CONTENT { get; }
Property Value
EXTRA_PROVISIONING_DISCLAIMER_HEADER
public static String EXTRA_PROVISIONING_DISCLAIMER_HEADER { get; }
Property Value
EXTRA_PROVISIONING_EMAIL_ADDRESS
[Obsolete]
public static String EXTRA_PROVISIONING_EMAIL_ADDRESS { get; }
Property Value
EXTRA_PROVISIONING_IMEI
public static String EXTRA_PROVISIONING_IMEI { get; }
Property Value
EXTRA_PROVISIONING_KEEP_ACCOUNT_ON_MIGRATION
public static String EXTRA_PROVISIONING_KEEP_ACCOUNT_ON_MIGRATION { get; }
Property Value
EXTRA_PROVISIONING_KEEP_SCREEN_ON
[Obsolete]
public static String EXTRA_PROVISIONING_KEEP_SCREEN_ON { get; }
Property Value
EXTRA_PROVISIONING_LEAVE_ALL_SYSTEM_APPS_ENABLED
public static String EXTRA_PROVISIONING_LEAVE_ALL_SYSTEM_APPS_ENABLED { get; }
Property Value
EXTRA_PROVISIONING_LOCALE
public static String EXTRA_PROVISIONING_LOCALE { get; }
Property Value
EXTRA_PROVISIONING_LOCAL_TIME
public static String EXTRA_PROVISIONING_LOCAL_TIME { get; }
Property Value
EXTRA_PROVISIONING_LOGO_URI
[Obsolete]
public static String EXTRA_PROVISIONING_LOGO_URI { get; }
Property Value
EXTRA_PROVISIONING_MAIN_COLOR
[Obsolete]
public static String EXTRA_PROVISIONING_MAIN_COLOR { get; }
Property Value
EXTRA_PROVISIONING_MODE
public static String EXTRA_PROVISIONING_MODE { get; }
Property Value
EXTRA_PROVISIONING_SENSORS_PERMISSION_GRANT_OPT_OUT
public static String EXTRA_PROVISIONING_SENSORS_PERMISSION_GRANT_OPT_OUT { get; }
Property Value
EXTRA_PROVISIONING_SERIAL_NUMBER
public static String EXTRA_PROVISIONING_SERIAL_NUMBER { get; }
Property Value
EXTRA_PROVISIONING_SHOULD_LAUNCH_RESULT_INTENT
public static String EXTRA_PROVISIONING_SHOULD_LAUNCH_RESULT_INTENT { get; }
Property Value
EXTRA_PROVISIONING_SKIP_EDUCATION_SCREENS
public static String EXTRA_PROVISIONING_SKIP_EDUCATION_SCREENS { get; }
Property Value
EXTRA_PROVISIONING_SKIP_ENCRYPTION
public static String EXTRA_PROVISIONING_SKIP_ENCRYPTION { get; }
Property Value
EXTRA_PROVISIONING_SKIP_USER_CONSENT
[Obsolete]
public static String EXTRA_PROVISIONING_SKIP_USER_CONSENT { get; }
Property Value
EXTRA_PROVISIONING_TIME_ZONE
public static String EXTRA_PROVISIONING_TIME_ZONE { get; }
Property Value
EXTRA_PROVISIONING_USE_MOBILE_DATA
public static String EXTRA_PROVISIONING_USE_MOBILE_DATA { get; }
Property Value
EXTRA_PROVISIONING_WIFI_ANONYMOUS_IDENTITY
public static String EXTRA_PROVISIONING_WIFI_ANONYMOUS_IDENTITY { get; }
Property Value
EXTRA_PROVISIONING_WIFI_CA_CERTIFICATE
public static String EXTRA_PROVISIONING_WIFI_CA_CERTIFICATE { get; }
Property Value
EXTRA_PROVISIONING_WIFI_DOMAIN
public static String EXTRA_PROVISIONING_WIFI_DOMAIN { get; }
Property Value
EXTRA_PROVISIONING_WIFI_EAP_METHOD
public static String EXTRA_PROVISIONING_WIFI_EAP_METHOD { get; }
Property Value
EXTRA_PROVISIONING_WIFI_HIDDEN
public static String EXTRA_PROVISIONING_WIFI_HIDDEN { get; }
Property Value
EXTRA_PROVISIONING_WIFI_IDENTITY
public static String EXTRA_PROVISIONING_WIFI_IDENTITY { get; }
Property Value
EXTRA_PROVISIONING_WIFI_PAC_URL
public static String EXTRA_PROVISIONING_WIFI_PAC_URL { get; }
Property Value
EXTRA_PROVISIONING_WIFI_PASSWORD
public static String EXTRA_PROVISIONING_WIFI_PASSWORD { get; }
Property Value
EXTRA_PROVISIONING_WIFI_PHASE2_AUTH
public static String EXTRA_PROVISIONING_WIFI_PHASE2_AUTH { get; }
Property Value
EXTRA_PROVISIONING_WIFI_PROXY_BYPASS
public static String EXTRA_PROVISIONING_WIFI_PROXY_BYPASS { get; }
Property Value
EXTRA_PROVISIONING_WIFI_PROXY_HOST
public static String EXTRA_PROVISIONING_WIFI_PROXY_HOST { get; }
Property Value
EXTRA_PROVISIONING_WIFI_PROXY_PORT
public static String EXTRA_PROVISIONING_WIFI_PROXY_PORT { get; }
Property Value
EXTRA_PROVISIONING_WIFI_SECURITY_TYPE
public static String EXTRA_PROVISIONING_WIFI_SECURITY_TYPE { get; }
Property Value
EXTRA_PROVISIONING_WIFI_SSID
public static String EXTRA_PROVISIONING_WIFI_SSID { get; }
Property Value
EXTRA_PROVISIONING_WIFI_USER_CERTIFICATE
public static String EXTRA_PROVISIONING_WIFI_USER_CERTIFICATE { get; }
Property Value
EXTRA_RESOURCE_IDS
public static String EXTRA_RESOURCE_IDS { get; }
Property Value
EXTRA_RESOURCE_TYPE
public static String EXTRA_RESOURCE_TYPE { get; }
Property Value
EXTRA_RESOURCE_TYPE_DRAWABLE
public static int EXTRA_RESOURCE_TYPE_DRAWABLE { get; }
Property Value
EXTRA_RESOURCE_TYPE_STRING
public static int EXTRA_RESOURCE_TYPE_STRING { get; }
Property Value
EXTRA_RESULT_LAUNCH_INTENT
public static String EXTRA_RESULT_LAUNCH_INTENT { get; }
Property Value
FLAG_EVICT_CREDENTIAL_ENCRYPTION_KEY
public static int FLAG_EVICT_CREDENTIAL_ENCRYPTION_KEY { get; }
Property Value
FLAG_MANAGED_CAN_ACCESS_PARENT
public static int FLAG_MANAGED_CAN_ACCESS_PARENT { get; }
Property Value
FLAG_PARENT_CAN_ACCESS_MANAGED
public static int FLAG_PARENT_CAN_ACCESS_MANAGED { get; }
Property Value
ID_TYPE_BASE_INFO
https://developer.android.com/reference/android/app/admin/DevicePolicyManager.html#ID_TYPE_BASE_INFO
public static int ID_TYPE_BASE_INFO { get; }
Property Value
ID_TYPE_IMEI
public static int ID_TYPE_IMEI { get; }
Property Value
ID_TYPE_INDIVIDUAL_ATTESTATION
public static int ID_TYPE_INDIVIDUAL_ATTESTATION { get; }
Property Value
ID_TYPE_MEID
public static int ID_TYPE_MEID { get; }
Property Value
ID_TYPE_SERIAL
public static int ID_TYPE_SERIAL { get; }
Property Value
INSTALLKEY_REQUEST_CREDENTIALS_ACCESS
public static int INSTALLKEY_REQUEST_CREDENTIALS_ACCESS { get; }
Property Value
INSTALLKEY_SET_USER_SELECTABLE
public static int INSTALLKEY_SET_USER_SELECTABLE { get; }
Property Value
IsBridgeAbstract
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
public override bool IsBridgeStatic { get; }
Property Value
KEYGUARD_DISABLE_BIOMETRICS
public static int KEYGUARD_DISABLE_BIOMETRICS { get; }
Property Value
KEYGUARD_DISABLE_FACE
public static int KEYGUARD_DISABLE_FACE { get; }
Property Value
KEYGUARD_DISABLE_FEATURES_ALL
public static int KEYGUARD_DISABLE_FEATURES_ALL { get; }
Property Value
KEYGUARD_DISABLE_FEATURES_NONE
public static int KEYGUARD_DISABLE_FEATURES_NONE { get; }
Property Value
KEYGUARD_DISABLE_FINGERPRINT
public static int KEYGUARD_DISABLE_FINGERPRINT { get; }
Property Value
KEYGUARD_DISABLE_IRIS
public static int KEYGUARD_DISABLE_IRIS { get; }
Property Value
KEYGUARD_DISABLE_REMOTE_INPUT
[Obsolete]
public static int KEYGUARD_DISABLE_REMOTE_INPUT { get; }
Property Value
KEYGUARD_DISABLE_SECURE_CAMERA
public static int KEYGUARD_DISABLE_SECURE_CAMERA { get; }
Property Value
KEYGUARD_DISABLE_SECURE_NOTIFICATIONS
public static int KEYGUARD_DISABLE_SECURE_NOTIFICATIONS { get; }
Property Value
KEYGUARD_DISABLE_SHORTCUTS_ALL
public static int KEYGUARD_DISABLE_SHORTCUTS_ALL { get; }
Property Value
KEYGUARD_DISABLE_TRUST_AGENTS
public static int KEYGUARD_DISABLE_TRUST_AGENTS { get; }
Property Value
KEYGUARD_DISABLE_UNREDACTED_NOTIFICATIONS
public static int KEYGUARD_DISABLE_UNREDACTED_NOTIFICATIONS { get; }
Property Value
KEYGUARD_DISABLE_WIDGETS_ALL
public static int KEYGUARD_DISABLE_WIDGETS_ALL { get; }
Property Value
LEAVE_ALL_SYSTEM_APPS_ENABLED
public static int LEAVE_ALL_SYSTEM_APPS_ENABLED { get; }
Property Value
LOCK_TASK_FEATURE_BLOCK_ACTIVITY_START_IN_TASK
public static int LOCK_TASK_FEATURE_BLOCK_ACTIVITY_START_IN_TASK { get; }
Property Value
LOCK_TASK_FEATURE_GLOBAL_ACTIONS
public static int LOCK_TASK_FEATURE_GLOBAL_ACTIONS { get; }
Property Value
LOCK_TASK_FEATURE_HOME
public static int LOCK_TASK_FEATURE_HOME { get; }
Property Value
LOCK_TASK_FEATURE_KEYGUARD
public static int LOCK_TASK_FEATURE_KEYGUARD { get; }
Property Value
LOCK_TASK_FEATURE_NONE
public static int LOCK_TASK_FEATURE_NONE { get; }
Property Value
LOCK_TASK_FEATURE_NOTIFICATIONS
public static int LOCK_TASK_FEATURE_NOTIFICATIONS { get; }
Property Value
LOCK_TASK_FEATURE_OVERVIEW
public static int LOCK_TASK_FEATURE_OVERVIEW { get; }
Property Value
LOCK_TASK_FEATURE_SYSTEM_INFO
public static int LOCK_TASK_FEATURE_SYSTEM_INFO { get; }
Property Value
MAKE_USER_EPHEMERAL
public static int MAKE_USER_EPHEMERAL { get; }
Property Value
MIME_TYPE_PROVISIONING_NFC
public static String MIME_TYPE_PROVISIONING_NFC { get; }
Property Value
MTE_DISABLED
public static int MTE_DISABLED { get; }
Property Value
MTE_ENABLED
public static int MTE_ENABLED { get; }
Property Value
MTE_NOT_CONTROLLED_BY_POLICY
public static int MTE_NOT_CONTROLLED_BY_POLICY { get; }
Property Value
NEARBY_STREAMING_DISABLED
public static int NEARBY_STREAMING_DISABLED { get; }
Property Value
NEARBY_STREAMING_ENABLED
public static int NEARBY_STREAMING_ENABLED { get; }
Property Value
NEARBY_STREAMING_NOT_CONTROLLED_BY_POLICY
public static int NEARBY_STREAMING_NOT_CONTROLLED_BY_POLICY { get; }
Property Value
NEARBY_STREAMING_SAME_MANAGED_ACCOUNT_ONLY
public static int NEARBY_STREAMING_SAME_MANAGED_ACCOUNT_ONLY { get; }
Property Value
OPERATION_SAFETY_REASON_DRIVING_DISTRACTION
public static int OPERATION_SAFETY_REASON_DRIVING_DISTRACTION { get; }
Property Value
PASSWORD_COMPLEXITY_HIGH
public static int PASSWORD_COMPLEXITY_HIGH { get; }
Property Value
PASSWORD_COMPLEXITY_LOW
public static int PASSWORD_COMPLEXITY_LOW { get; }
Property Value
PASSWORD_COMPLEXITY_MEDIUM
public static int PASSWORD_COMPLEXITY_MEDIUM { get; }
Property Value
PASSWORD_COMPLEXITY_NONE
public static int PASSWORD_COMPLEXITY_NONE { get; }
Property Value
PASSWORD_QUALITY_ALPHABETIC
public static int PASSWORD_QUALITY_ALPHABETIC { get; }
Property Value
PASSWORD_QUALITY_ALPHANUMERIC
public static int PASSWORD_QUALITY_ALPHANUMERIC { get; }
Property Value
PASSWORD_QUALITY_BIOMETRIC_WEAK
public static int PASSWORD_QUALITY_BIOMETRIC_WEAK { get; }
Property Value
PASSWORD_QUALITY_COMPLEX
public static int PASSWORD_QUALITY_COMPLEX { get; }
Property Value
PASSWORD_QUALITY_NUMERIC
public static int PASSWORD_QUALITY_NUMERIC { get; }
Property Value
PASSWORD_QUALITY_NUMERIC_COMPLEX
public static int PASSWORD_QUALITY_NUMERIC_COMPLEX { get; }
Property Value
PASSWORD_QUALITY_SOMETHING
public static int PASSWORD_QUALITY_SOMETHING { get; }
Property Value
PASSWORD_QUALITY_UNSPECIFIED
public static int PASSWORD_QUALITY_UNSPECIFIED { get; }
Property Value
PERMISSION_GRANT_STATE_DEFAULT
public static int PERMISSION_GRANT_STATE_DEFAULT { get; }
Property Value
PERMISSION_GRANT_STATE_DENIED
public static int PERMISSION_GRANT_STATE_DENIED { get; }
Property Value
PERMISSION_GRANT_STATE_GRANTED
public static int PERMISSION_GRANT_STATE_GRANTED { get; }
Property Value
PERMISSION_POLICY_AUTO_DENY
public static int PERMISSION_POLICY_AUTO_DENY { get; }
Property Value
PERMISSION_POLICY_AUTO_GRANT
public static int PERMISSION_POLICY_AUTO_GRANT { get; }
Property Value
PERMISSION_POLICY_PROMPT
public static int PERMISSION_POLICY_PROMPT { get; }
Property Value
PERSONAL_APPS_NOT_SUSPENDED
public static int PERSONAL_APPS_NOT_SUSPENDED { get; }
Property Value
PERSONAL_APPS_SUSPENDED_EXPLICITLY
public static int PERSONAL_APPS_SUSPENDED_EXPLICITLY { get; }
Property Value
PERSONAL_APPS_SUSPENDED_PROFILE_TIMEOUT
public static int PERSONAL_APPS_SUSPENDED_PROFILE_TIMEOUT { get; }
Property Value
POLICY_DISABLE_CAMERA
public static String POLICY_DISABLE_CAMERA { get; }
Property Value
POLICY_DISABLE_SCREEN_CAPTURE
public static String POLICY_DISABLE_SCREEN_CAPTURE { get; }
Property Value
PRIVATE_DNS_MODE_OFF
public static int PRIVATE_DNS_MODE_OFF { get; }
Property Value
PRIVATE_DNS_MODE_OPPORTUNISTIC
public static int PRIVATE_DNS_MODE_OPPORTUNISTIC { get; }
Property Value
PRIVATE_DNS_MODE_PROVIDER_HOSTNAME
public static int PRIVATE_DNS_MODE_PROVIDER_HOSTNAME { get; }
Property Value
PRIVATE_DNS_MODE_UNKNOWN
public static int PRIVATE_DNS_MODE_UNKNOWN { get; }
Property Value
PRIVATE_DNS_SET_ERROR_FAILURE_SETTING
public static int PRIVATE_DNS_SET_ERROR_FAILURE_SETTING { get; }
Property Value
PRIVATE_DNS_SET_ERROR_HOST_NOT_SERVING
public static int PRIVATE_DNS_SET_ERROR_HOST_NOT_SERVING { get; }
Property Value
PRIVATE_DNS_SET_NO_ERROR
public static int PRIVATE_DNS_SET_NO_ERROR { get; }
Property Value
PROVISIONING_MODE_FULLY_MANAGED_DEVICE
public static int PROVISIONING_MODE_FULLY_MANAGED_DEVICE { get; }
Property Value
PROVISIONING_MODE_MANAGED_PROFILE
public static int PROVISIONING_MODE_MANAGED_PROFILE { get; }
Property Value
PROVISIONING_MODE_MANAGED_PROFILE_ON_PERSONAL_DEVICE
public static int PROVISIONING_MODE_MANAGED_PROFILE_ON_PERSONAL_DEVICE { get; }
Property Value
RESET_PASSWORD_DO_NOT_ASK_CREDENTIALS_ON_BOOT
public static int RESET_PASSWORD_DO_NOT_ASK_CREDENTIALS_ON_BOOT { get; }
Property Value
RESET_PASSWORD_REQUIRE_ENTRY
public static int RESET_PASSWORD_REQUIRE_ENTRY { get; }
Property Value
SKIP_SETUP_WIZARD
https://developer.android.com/reference/android/app/admin/DevicePolicyManager.html#SKIP_SETUP_WIZARD
public static int SKIP_SETUP_WIZARD { get; }
Property Value
WIFI_SECURITY_ENTERPRISE_192
public static int WIFI_SECURITY_ENTERPRISE_192 { get; }
Property Value
WIFI_SECURITY_ENTERPRISE_EAP
public static int WIFI_SECURITY_ENTERPRISE_EAP { get; }
Property Value
WIFI_SECURITY_OPEN
public static int WIFI_SECURITY_OPEN { get; }
Property Value
WIFI_SECURITY_PERSONAL
public static int WIFI_SECURITY_PERSONAL { get; }
Property Value
WIPE_EUICC
public static int WIPE_EUICC { get; }
Property Value
WIPE_EXTERNAL_STORAGE
public static int WIPE_EXTERNAL_STORAGE { get; }
Property Value
WIPE_RESET_PROTECTION_DATA
public static int WIPE_RESET_PROTECTION_DATA { get; }
Property Value
WIPE_SILENTLY
public static int WIPE_SILENTLY { get; }
Property Value
Methods
AcknowledgeDeviceCompliant()
public void AcknowledgeDeviceCompliant()
AddCrossProfileIntentFilter(ComponentName, IntentFilter, int)
public void AddCrossProfileIntentFilter(ComponentName arg0, IntentFilter arg1, int arg2)
Parameters
arg0
ComponentNamearg1
IntentFilterarg2
int
AddCrossProfileWidgetProvider(ComponentName, String)
public bool AddCrossProfileWidgetProvider(ComponentName arg0, String arg1)
Parameters
arg0
ComponentNamearg1
String
Returns
AddOverrideApn(ComponentName, ApnSetting)
public int AddOverrideApn(ComponentName arg0, ApnSetting arg1)
Parameters
arg0
ComponentNamearg1
ApnSetting
Returns
AddPersistentPreferredActivity(ComponentName, IntentFilter, ComponentName)
public void AddPersistentPreferredActivity(ComponentName arg0, IntentFilter arg1, ComponentName arg2)
Parameters
arg0
ComponentNamearg1
IntentFilterarg2
ComponentName
AddUserRestriction(ComponentName, String)
public void AddUserRestriction(ComponentName arg0, String arg1)
Parameters
arg0
ComponentNamearg1
String
AddUserRestrictionGlobally(String)
public void AddUserRestrictionGlobally(String arg0)
Parameters
BindDeviceAdminServiceAsUser(ComponentName, Intent, ServiceConnection, BindServiceFlags, UserHandle)
public bool BindDeviceAdminServiceAsUser(ComponentName arg0, Intent arg1, ServiceConnection arg2, Context.BindServiceFlags arg3, UserHandle arg4)
Parameters
arg0
ComponentNamearg1
Intentarg2
ServiceConnectionarg3
Context.BindServiceFlagsarg4
UserHandle
Returns
BindDeviceAdminServiceAsUser(ComponentName, Intent, ServiceConnection, int, UserHandle)
public bool BindDeviceAdminServiceAsUser(ComponentName arg0, Intent arg1, ServiceConnection arg2, int arg3, UserHandle arg4)
Parameters
arg0
ComponentNamearg1
Intentarg2
ServiceConnectionarg3
intarg4
UserHandle
Returns
CanAdminGrantSensorsPermissions()
public bool CanAdminGrantSensorsPermissions()
Returns
CanUsbDataSignalingBeDisabled()
public bool CanUsbDataSignalingBeDisabled()
Returns
ClearApplicationUserData(ComponentName, String, Executor, OnClearApplicationUserDataListener)
public void ClearApplicationUserData(ComponentName arg0, String arg1, Executor arg2, DevicePolicyManager.OnClearApplicationUserDataListener arg3)
Parameters
arg0
ComponentNamearg1
Stringarg2
Executorarg3
DevicePolicyManager.OnClearApplicationUserDataListener
ClearCrossProfileIntentFilters(ComponentName)
public void ClearCrossProfileIntentFilters(ComponentName arg0)
Parameters
ClearDeviceOwnerApp(String)
[Obsolete]
public void ClearDeviceOwnerApp(String arg0)
Parameters
ClearPackagePersistentPreferredActivities(ComponentName, String)
public void ClearPackagePersistentPreferredActivities(ComponentName arg0, String arg1)
Parameters
arg0
ComponentNamearg1
String
ClearProfileOwner(ComponentName)
[Obsolete]
public void ClearProfileOwner(ComponentName arg0)
Parameters
ClearResetPasswordToken(ComponentName)
public bool ClearResetPasswordToken(ComponentName arg0)
Parameters
Returns
ClearUserRestriction(ComponentName, String)
public void ClearUserRestriction(ComponentName arg0, String arg1)
Parameters
arg0
ComponentNamearg1
String
CreateAdminSupportIntent(String)
public Intent CreateAdminSupportIntent(String arg0)
Parameters
Returns
CreateAndManageUser(ComponentName, String, ComponentName, PersistableBundle, int)
public UserHandle CreateAndManageUser(ComponentName arg0, String arg1, ComponentName arg2, PersistableBundle arg3, int arg4)
Parameters
arg0
ComponentNamearg1
Stringarg2
ComponentNamearg3
PersistableBundlearg4
int
Returns
EnableSystemApp(ComponentName, Intent)
public int EnableSystemApp(ComponentName arg0, Intent arg1)
Parameters
arg0
ComponentNamearg1
Intent
Returns
EnableSystemApp(ComponentName, String)
public void EnableSystemApp(ComponentName arg0, String arg1)
Parameters
arg0
ComponentNamearg1
String
GenerateKeyPair(ComponentName, String, KeyGenParameterSpec, int)
public AttestedKeyPair GenerateKeyPair(ComponentName arg0, String arg1, KeyGenParameterSpec arg2, int arg3)
Parameters
arg0
ComponentNamearg1
Stringarg2
KeyGenParameterSpecarg3
int
Returns
GetAccountTypesWithManagementDisabled()
public String[] GetAccountTypesWithManagementDisabled()
Returns
GetActiveAdmins()
https://developer.android.com/reference/android/app/admin/DevicePolicyManager.html#getActiveAdmins()
public List<ComponentName> GetActiveAdmins()
Returns
GetAffiliationIds(ComponentName)
public Set<String> GetAffiliationIds(ComponentName arg0)
Parameters
Returns
GetAlwaysOnVpnLockdownWhitelist(ComponentName)
public Set<String> GetAlwaysOnVpnLockdownWhitelist(ComponentName arg0)
Parameters
Returns
GetAlwaysOnVpnPackage(ComponentName)
public String GetAlwaysOnVpnPackage(ComponentName arg0)
Parameters
Returns
GetApplicationRestrictions(ComponentName, String)
public Bundle GetApplicationRestrictions(ComponentName arg0, String arg1)
Parameters
arg0
ComponentNamearg1
String
Returns
GetApplicationRestrictionsManagingPackage(ComponentName)
[Obsolete]
public String GetApplicationRestrictionsManagingPackage(ComponentName arg0)
Parameters
Returns
GetAutoTimeEnabled(ComponentName)
public bool GetAutoTimeEnabled(ComponentName arg0)
Parameters
Returns
GetAutoTimeRequired()
[Obsolete]
public bool GetAutoTimeRequired()
Returns
GetAutoTimeZoneEnabled(ComponentName)
public bool GetAutoTimeZoneEnabled(ComponentName arg0)
Parameters
Returns
GetBindDeviceAdminTargetUsers(ComponentName)
public List<UserHandle> GetBindDeviceAdminTargetUsers(ComponentName arg0)
Parameters
Returns
GetBluetoothContactSharingDisabled(ComponentName)
public bool GetBluetoothContactSharingDisabled(ComponentName arg0)
Parameters
Returns
GetCameraDisabled(ComponentName)
public bool GetCameraDisabled(ComponentName arg0)
Parameters
Returns
GetCertInstallerPackage(ComponentName)
[Obsolete]
public String GetCertInstallerPackage(ComponentName arg0)
Parameters
Returns
Exceptions
GetContentProtectionPolicy(ComponentName)
public int GetContentProtectionPolicy(ComponentName arg0)
Parameters
Returns
GetCredentialManagerPolicy()
public PackagePolicy GetCredentialManagerPolicy()
Returns
GetCrossProfileCalendarPackages(ComponentName)
[Obsolete]
public Set<String> GetCrossProfileCalendarPackages(ComponentName arg0)
Parameters
Returns
GetCrossProfileCallerIdDisabled(ComponentName)
[Obsolete]
public bool GetCrossProfileCallerIdDisabled(ComponentName arg0)
Parameters
Returns
GetCrossProfileContactsSearchDisabled(ComponentName)
[Obsolete]
public bool GetCrossProfileContactsSearchDisabled(ComponentName arg0)
Parameters
Returns
GetCrossProfilePackages(ComponentName)
public Set<String> GetCrossProfilePackages(ComponentName arg0)
Parameters
Returns
GetCrossProfileWidgetProviders(ComponentName)
public List<String> GetCrossProfileWidgetProviders(ComponentName arg0)
Parameters
Returns
GetCurrentFailedPasswordAttempts()
public int GetCurrentFailedPasswordAttempts()
Returns
GetDelegatePackages(ComponentName, String)
public List<String> GetDelegatePackages(ComponentName arg0, String arg1)
Parameters
arg0
ComponentNamearg1
String
Returns
GetDelegatedScopes(ComponentName, String)
public List<String> GetDelegatedScopes(ComponentName arg0, String arg1)
Parameters
arg0
ComponentNamearg1
String
Returns
GetDeviceOwnerLockScreenInfo()
public CharSequence GetDeviceOwnerLockScreenInfo()
Returns
GetDevicePolicyManagementRoleHolderPackage()
public String GetDevicePolicyManagementRoleHolderPackage()
Returns
GetEndUserSessionMessage(ComponentName)
public CharSequence GetEndUserSessionMessage(ComponentName arg0)
Parameters
Returns
GetEnrollmentSpecificId()
public String GetEnrollmentSpecificId()
Returns
GetFactoryResetProtectionPolicy(ComponentName)
public FactoryResetProtectionPolicy GetFactoryResetProtectionPolicy(ComponentName arg0)
Parameters
Returns
GetGlobalPrivateDnsHost(ComponentName)
public String GetGlobalPrivateDnsHost(ComponentName arg0)
Parameters
Returns
GetGlobalPrivateDnsMode(ComponentName)
public int GetGlobalPrivateDnsMode(ComponentName arg0)
Parameters
Returns
GetInstalledCaCerts(ComponentName)
public List<byte[]> GetInstalledCaCerts(ComponentName arg0)
Parameters
Returns
GetKeepUninstalledPackages(ComponentName)
public List<String> GetKeepUninstalledPackages(ComponentName arg0)
Parameters
Returns
GetKeyPairGrants(String)
public Map<Integer, Set<String>> GetKeyPairGrants(String arg0)
Parameters
Returns
GetKeyguardDisabledFeatures(ComponentName)
public int GetKeyguardDisabledFeatures(ComponentName arg0)
Parameters
Returns
GetLockTaskFeatures(ComponentName)
public int GetLockTaskFeatures(ComponentName arg0)
Parameters
Returns
GetLockTaskPackages(ComponentName)
public String[] GetLockTaskPackages(ComponentName arg0)
Parameters
Returns
GetLongSupportMessage(ComponentName)
public CharSequence GetLongSupportMessage(ComponentName arg0)
Parameters
Returns
GetManagedProfileCallerIdAccessPolicy()
public PackagePolicy GetManagedProfileCallerIdAccessPolicy()
Returns
GetManagedProfileContactsAccessPolicy()
public PackagePolicy GetManagedProfileContactsAccessPolicy()
Returns
GetManagedProfileMaximumTimeOff(ComponentName)
public long GetManagedProfileMaximumTimeOff(ComponentName arg0)
Parameters
Returns
GetManagedSubscriptionsPolicy()
public ManagedSubscriptionsPolicy GetManagedSubscriptionsPolicy()
Returns
GetMaximumFailedPasswordsForWipe(ComponentName)
public int GetMaximumFailedPasswordsForWipe(ComponentName arg0)
Parameters
Returns
GetMaximumTimeToLock(ComponentName)
public long GetMaximumTimeToLock(ComponentName arg0)
Parameters
Returns
GetMeteredDataDisabledPackages(ComponentName)
public List<String> GetMeteredDataDisabledPackages(ComponentName arg0)
Parameters
Returns
GetMinimumRequiredWifiSecurityLevel()
public int GetMinimumRequiredWifiSecurityLevel()
Returns
GetMtePolicy()
public int GetMtePolicy()
Returns
GetNearbyAppStreamingPolicy()
public int GetNearbyAppStreamingPolicy()
Returns
GetNearbyNotificationStreamingPolicy()
public int GetNearbyNotificationStreamingPolicy()
Returns
GetOrganizationColor(ComponentName)
[Obsolete]
public int GetOrganizationColor(ComponentName arg0)
Parameters
Returns
GetOrganizationName(ComponentName)
public CharSequence GetOrganizationName(ComponentName arg0)
Parameters
Returns
GetOverrideApns(ComponentName)
public List<ApnSetting> GetOverrideApns(ComponentName arg0)
Parameters
Returns
GetParentProfileInstance(ComponentName)
public DevicePolicyManager GetParentProfileInstance(ComponentName arg0)
Parameters
Returns
GetPasswordComplexity()
public int GetPasswordComplexity()
Returns
GetPasswordExpiration(ComponentName)
public long GetPasswordExpiration(ComponentName arg0)
Parameters
Returns
GetPasswordExpirationTimeout(ComponentName)
public long GetPasswordExpirationTimeout(ComponentName arg0)
Parameters
Returns
GetPasswordHistoryLength(ComponentName)
public int GetPasswordHistoryLength(ComponentName arg0)
Parameters
Returns
GetPasswordMaximumLength(int)
public int GetPasswordMaximumLength(int arg0)
Parameters
Returns
GetPasswordMinimumLength(ComponentName)
[Obsolete]
public int GetPasswordMinimumLength(ComponentName arg0)
Parameters
Returns
GetPasswordMinimumLetters(ComponentName)
[Obsolete]
public int GetPasswordMinimumLetters(ComponentName arg0)
Parameters
Returns
GetPasswordMinimumLowerCase(ComponentName)
[Obsolete]
public int GetPasswordMinimumLowerCase(ComponentName arg0)
Parameters
Returns
GetPasswordMinimumNonLetter(ComponentName)
[Obsolete]
public int GetPasswordMinimumNonLetter(ComponentName arg0)
Parameters
Returns
GetPasswordMinimumNumeric(ComponentName)
[Obsolete]
public int GetPasswordMinimumNumeric(ComponentName arg0)
Parameters
Returns
GetPasswordMinimumSymbols(ComponentName)
[Obsolete]
public int GetPasswordMinimumSymbols(ComponentName arg0)
Parameters
Returns
GetPasswordMinimumUpperCase(ComponentName)
[Obsolete]
public int GetPasswordMinimumUpperCase(ComponentName arg0)
Parameters
Returns
GetPasswordQuality(ComponentName)
[Obsolete]
public int GetPasswordQuality(ComponentName arg0)
Parameters
Returns
GetPendingSystemUpdate(ComponentName)
public SystemUpdateInfo GetPendingSystemUpdate(ComponentName arg0)
Parameters
Returns
GetPermissionGrantState(ComponentName, String, String)
public int GetPermissionGrantState(ComponentName arg0, String arg1, String arg2)
Parameters
arg0
ComponentNamearg1
Stringarg2
String
Returns
GetPermissionPolicy(ComponentName)
public int GetPermissionPolicy(ComponentName arg0)
Parameters
Returns
GetPermittedAccessibilityServices(ComponentName)
public List<String> GetPermittedAccessibilityServices(ComponentName arg0)
Parameters
Returns
GetPermittedCrossProfileNotificationListeners(ComponentName)
public List<String> GetPermittedCrossProfileNotificationListeners(ComponentName arg0)
Parameters
Returns
GetPermittedInputMethods(ComponentName)
public List<String> GetPermittedInputMethods(ComponentName arg0)
Parameters
Returns
GetPersonalAppsSuspendedReasons(ComponentName)
public int GetPersonalAppsSuspendedReasons(ComponentName arg0)
Parameters
Returns
GetPreferentialNetworkServiceConfigs()
public List<PreferentialNetworkServiceConfig> GetPreferentialNetworkServiceConfigs()
Returns
GetRequiredPasswordComplexity()
public int GetRequiredPasswordComplexity()
Returns
GetRequiredStrongAuthTimeout(ComponentName)
public long GetRequiredStrongAuthTimeout(ComponentName arg0)
Parameters
Returns
GetResources()
public DevicePolicyResourcesManager GetResources()
Returns
GetScreenCaptureDisabled(ComponentName)
public bool GetScreenCaptureDisabled(ComponentName arg0)
Parameters
Returns
GetSecondaryUsers(ComponentName)
public List<UserHandle> GetSecondaryUsers(ComponentName arg0)
Parameters
Returns
GetShortSupportMessage(ComponentName)
public CharSequence GetShortSupportMessage(ComponentName arg0)
Parameters
Returns
GetStartUserSessionMessage(ComponentName)
public CharSequence GetStartUserSessionMessage(ComponentName arg0)
Parameters
Returns
GetStorageEncryption(ComponentName)
[Obsolete]
public bool GetStorageEncryption(ComponentName arg0)
Parameters
Returns
GetStorageEncryptionStatus()
public int GetStorageEncryptionStatus()
Returns
GetSubscriptionIds()
public Set<Integer> GetSubscriptionIds()
Returns
GetSystemUpdatePolicy()
public SystemUpdatePolicy GetSystemUpdatePolicy()
Returns
GetTransferOwnershipBundle()
public PersistableBundle GetTransferOwnershipBundle()
Returns
GetTrustAgentConfiguration(ComponentName, ComponentName)
public List<PersistableBundle> GetTrustAgentConfiguration(ComponentName arg0, ComponentName arg1)
Parameters
arg0
ComponentNamearg1
ComponentName
Returns
GetUserControlDisabledPackages(ComponentName)
public List<String> GetUserControlDisabledPackages(ComponentName arg0)
Parameters
Returns
GetUserRestrictions(ComponentName)
public Bundle GetUserRestrictions(ComponentName arg0)
Parameters
Returns
GetUserRestrictionsGlobally()
public Bundle GetUserRestrictionsGlobally()
Returns
GetWifiMacAddress(ComponentName)
public String GetWifiMacAddress(ComponentName arg0)
Parameters
Returns
GetWifiSsidPolicy()
public WifiSsidPolicy GetWifiSsidPolicy()
Returns
GrantKeyPairToApp(ComponentName, String, String)
public bool GrantKeyPairToApp(ComponentName arg0, String arg1, String arg2)
Parameters
arg0
ComponentNamearg1
Stringarg2
String
Returns
GrantKeyPairToWifiAuth(String)
public bool GrantKeyPairToWifiAuth(String arg0)
Parameters
Returns
HasCaCertInstalled(ComponentName, byte[])
public bool HasCaCertInstalled(ComponentName arg0, byte[] arg1)
Parameters
arg0
ComponentNamearg1
byte[]
Returns
HasGrantedPolicy(ComponentName, int)
public bool HasGrantedPolicy(ComponentName arg0, int arg1)
Parameters
arg0
ComponentNamearg1
int
Returns
HasKeyPair(String)
public bool HasKeyPair(String arg0)
Parameters
Returns
HasLockdownAdminConfiguredNetworks(ComponentName)
public bool HasLockdownAdminConfiguredNetworks(ComponentName arg0)
Parameters
Returns
InstallCaCert(ComponentName, byte[])
public bool InstallCaCert(ComponentName arg0, byte[] arg1)
Parameters
arg0
ComponentNamearg1
byte[]
Returns
InstallExistingPackage(ComponentName, String)
public bool InstallExistingPackage(ComponentName arg0, String arg1)
Parameters
arg0
ComponentNamearg1
String
Returns
InstallKeyPair(ComponentName, PrivateKey, Certificate, String)
public bool InstallKeyPair(ComponentName arg0, PrivateKey arg1, Certificate arg2, String arg3)
Parameters
arg0
ComponentNamearg1
PrivateKeyarg2
Certificatearg3
String
Returns
InstallKeyPair(ComponentName, PrivateKey, Certificate[], String, bool)
public bool InstallKeyPair(ComponentName arg0, PrivateKey arg1, Certificate[] arg2, String arg3, bool arg4)
Parameters
arg0
ComponentNamearg1
PrivateKeyarg2
Certificate[]arg3
Stringarg4
bool
Returns
InstallKeyPair(ComponentName, PrivateKey, Certificate[], String, int)
public bool InstallKeyPair(ComponentName arg0, PrivateKey arg1, Certificate[] arg2, String arg3, int arg4)
Parameters
arg0
ComponentNamearg1
PrivateKeyarg2
Certificate[]arg3
Stringarg4
int
Returns
InstallSystemUpdate(ComponentName, Uri, Executor, InstallSystemUpdateCallback)
public void InstallSystemUpdate(ComponentName arg0, Uri arg1, Executor arg2, DevicePolicyManager.InstallSystemUpdateCallback arg3)
Parameters
arg0
ComponentNamearg1
Uriarg2
Executorarg3
DevicePolicyManager.InstallSystemUpdateCallback
IsActivePasswordSufficient()
public bool IsActivePasswordSufficient()
Returns
IsActivePasswordSufficientForDeviceRequirement()
public bool IsActivePasswordSufficientForDeviceRequirement()
Returns
IsAdminActive(ComponentName)
public bool IsAdminActive(ComponentName arg0)
Parameters
Returns
IsAffiliatedUser()
public bool IsAffiliatedUser()
Returns
IsAlwaysOnVpnLockdownEnabled(ComponentName)
public bool IsAlwaysOnVpnLockdownEnabled(ComponentName arg0)
Parameters
Returns
IsApplicationHidden(ComponentName, String)
public bool IsApplicationHidden(ComponentName arg0, String arg1)
Parameters
arg0
ComponentNamearg1
String
Returns
IsBackupServiceEnabled(ComponentName)
public bool IsBackupServiceEnabled(ComponentName arg0)
Parameters
Returns
IsCallerApplicationRestrictionsManagingPackage()
[Obsolete]
public bool IsCallerApplicationRestrictionsManagingPackage()
Returns
IsCommonCriteriaModeEnabled(ComponentName)
public bool IsCommonCriteriaModeEnabled(ComponentName arg0)
Parameters
Returns
IsComplianceAcknowledgementRequired()
public bool IsComplianceAcknowledgementRequired()
Returns
IsDeviceFinanced()
public bool IsDeviceFinanced()
Returns
IsDeviceIdAttestationSupported()
public bool IsDeviceIdAttestationSupported()
Returns
IsDeviceOwnerApp(String)
public bool IsDeviceOwnerApp(String arg0)
Parameters
Returns
IsEphemeralUser(ComponentName)
public bool IsEphemeralUser(ComponentName arg0)
Parameters
Returns
IsKeyPairGrantedToWifiAuth(String)
public bool IsKeyPairGrantedToWifiAuth(String arg0)
Parameters
Returns
IsLockTaskPermitted(String)
public bool IsLockTaskPermitted(String arg0)
Parameters
Returns
IsLogoutEnabled()
https://developer.android.com/reference/android/app/admin/DevicePolicyManager.html#isLogoutEnabled()
public bool IsLogoutEnabled()
Returns
IsManagedProfile(ComponentName)
public bool IsManagedProfile(ComponentName arg0)
Parameters
Returns
IsMasterVolumeMuted(ComponentName)
public bool IsMasterVolumeMuted(ComponentName arg0)
Parameters
Returns
IsMtePolicyEnforced()
public static bool IsMtePolicyEnforced()
Returns
IsNetworkLoggingEnabled(ComponentName)
public bool IsNetworkLoggingEnabled(ComponentName arg0)
Parameters
Returns
IsOrganizationOwnedDeviceWithManagedProfile()
public bool IsOrganizationOwnedDeviceWithManagedProfile()
Returns
IsOverrideApnEnabled(ComponentName)
public bool IsOverrideApnEnabled(ComponentName arg0)
Parameters
Returns
IsPackageSuspended(ComponentName, String)
public bool IsPackageSuspended(ComponentName arg0, String arg1)
Parameters
arg0
ComponentNamearg1
String
Returns
Exceptions
IsPreferentialNetworkServiceEnabled()
public bool IsPreferentialNetworkServiceEnabled()
Returns
IsProfileOwnerApp(String)
public bool IsProfileOwnerApp(String arg0)
Parameters
Returns
IsProvisioningAllowed(String)
public bool IsProvisioningAllowed(String arg0)
Parameters
Returns
IsResetPasswordTokenActive(ComponentName)
public bool IsResetPasswordTokenActive(ComponentName arg0)
Parameters
Returns
IsSafeOperation(int)
public bool IsSafeOperation(int arg0)
Parameters
Returns
IsSecurityLoggingEnabled(ComponentName)
public bool IsSecurityLoggingEnabled(ComponentName arg0)
Parameters
Returns
IsStatusBarDisabled()
public bool IsStatusBarDisabled()
Returns
IsUninstallBlocked(ComponentName, String)
public bool IsUninstallBlocked(ComponentName arg0, String arg1)
Parameters
arg0
ComponentNamearg1
String
Returns
IsUniqueDeviceAttestationSupported()
public bool IsUniqueDeviceAttestationSupported()
Returns
IsUsbDataSignalingEnabled()
public bool IsUsbDataSignalingEnabled()
Returns
IsUsingUnifiedPassword(ComponentName)
public bool IsUsingUnifiedPassword(ComponentName arg0)
Parameters
Returns
ListForegroundAffiliatedUsers()
public List<UserHandle> ListForegroundAffiliatedUsers()
Returns
LockNow()
public void LockNow()
LockNow(int)
public void LockNow(int arg0)
Parameters
LogoutUser(ComponentName)
public int LogoutUser(ComponentName arg0)
Parameters
Returns
Reboot(ComponentName)
public void Reboot(ComponentName arg0)
Parameters
RemoveActiveAdmin(ComponentName)
public void RemoveActiveAdmin(ComponentName arg0)
Parameters
RemoveCrossProfileWidgetProvider(ComponentName, String)
public bool RemoveCrossProfileWidgetProvider(ComponentName arg0, String arg1)
Parameters
arg0
ComponentNamearg1
String
Returns
RemoveKeyPair(ComponentName, String)
public bool RemoveKeyPair(ComponentName arg0, String arg1)
Parameters
arg0
ComponentNamearg1
String
Returns
RemoveOverrideApn(ComponentName, int)
public bool RemoveOverrideApn(ComponentName arg0, int arg1)
Parameters
arg0
ComponentNamearg1
int
Returns
RemoveUser(ComponentName, UserHandle)
public bool RemoveUser(ComponentName arg0, UserHandle arg1)
Parameters
arg0
ComponentNamearg1
UserHandle
Returns
RequestBugreport(ComponentName)
public bool RequestBugreport(ComponentName arg0)
Parameters
Returns
ResetPassword(String, int)
[Obsolete]
public bool ResetPassword(String arg0, int arg1)
Parameters
Returns
ResetPasswordWithToken(ComponentName, String, byte[], int)
public bool ResetPasswordWithToken(ComponentName arg0, String arg1, byte[] arg2, int arg3)
Parameters
arg0
ComponentNamearg1
Stringarg2
byte[]arg3
int
Returns
RetrieveNetworkLogs(ComponentName, long)
public List<NetworkEvent> RetrieveNetworkLogs(ComponentName arg0, long arg1)
Parameters
arg0
ComponentNamearg1
long
Returns
RetrievePreRebootSecurityLogs(ComponentName)
public List<SecurityLog.SecurityEvent> RetrievePreRebootSecurityLogs(ComponentName arg0)
Parameters
Returns
RetrieveSecurityLogs(ComponentName)
public List<SecurityLog.SecurityEvent> RetrieveSecurityLogs(ComponentName arg0)
Parameters
Returns
RevokeKeyPairFromApp(ComponentName, String, String)
public bool RevokeKeyPairFromApp(ComponentName arg0, String arg1, String arg2)
Parameters
arg0
ComponentNamearg1
Stringarg2
String
Returns
RevokeKeyPairFromWifiAuth(String)
public bool RevokeKeyPairFromWifiAuth(String arg0)
Parameters
Returns
SetAccountManagementDisabled(ComponentName, String, bool)
public void SetAccountManagementDisabled(ComponentName arg0, String arg1, bool arg2)
Parameters
arg0
ComponentNamearg1
Stringarg2
bool
SetAffiliationIds(ComponentName, Set<String>)
public void SetAffiliationIds(ComponentName arg0, Set<String> arg1)
Parameters
arg0
ComponentNamearg1
Set<String>
SetAlwaysOnVpnPackage(ComponentName, String, bool)
public void SetAlwaysOnVpnPackage(ComponentName arg0, String arg1, bool arg2)
Parameters
arg0
ComponentNamearg1
Stringarg2
bool
Exceptions
SetAlwaysOnVpnPackage(ComponentName, String, bool, Set<String>)
public void SetAlwaysOnVpnPackage(ComponentName arg0, String arg1, bool arg2, Set<String> arg3)
Parameters
arg0
ComponentNamearg1
Stringarg2
boolarg3
Set<String>
Exceptions
SetApplicationHidden(ComponentName, String, bool)
public bool SetApplicationHidden(ComponentName arg0, String arg1, bool arg2)
Parameters
arg0
ComponentNamearg1
Stringarg2
bool
Returns
SetApplicationRestrictions(ComponentName, String, Bundle)
public void SetApplicationRestrictions(ComponentName arg0, String arg1, Bundle arg2)
Parameters
arg0
ComponentNamearg1
Stringarg2
Bundle
SetApplicationRestrictionsManagingPackage(ComponentName, String)
[Obsolete]
public void SetApplicationRestrictionsManagingPackage(ComponentName arg0, String arg1)
Parameters
arg0
ComponentNamearg1
String
Exceptions
SetAutoTimeEnabled(ComponentName, bool)
public void SetAutoTimeEnabled(ComponentName arg0, bool arg1)
Parameters
arg0
ComponentNamearg1
bool
SetAutoTimeRequired(ComponentName, bool)
[Obsolete]
public void SetAutoTimeRequired(ComponentName arg0, bool arg1)
Parameters
arg0
ComponentNamearg1
bool
SetAutoTimeZoneEnabled(ComponentName, bool)
public void SetAutoTimeZoneEnabled(ComponentName arg0, bool arg1)
Parameters
arg0
ComponentNamearg1
bool
SetBackupServiceEnabled(ComponentName, bool)
public void SetBackupServiceEnabled(ComponentName arg0, bool arg1)
Parameters
arg0
ComponentNamearg1
bool
SetBluetoothContactSharingDisabled(ComponentName, bool)
public void SetBluetoothContactSharingDisabled(ComponentName arg0, bool arg1)
Parameters
arg0
ComponentNamearg1
bool
SetCameraDisabled(ComponentName, bool)
public void SetCameraDisabled(ComponentName arg0, bool arg1)
Parameters
arg0
ComponentNamearg1
bool
SetCertInstallerPackage(ComponentName, String)
[Obsolete]
public void SetCertInstallerPackage(ComponentName arg0, String arg1)
Parameters
arg0
ComponentNamearg1
String
Exceptions
SetCommonCriteriaModeEnabled(ComponentName, bool)
public void SetCommonCriteriaModeEnabled(ComponentName arg0, bool arg1)
Parameters
arg0
ComponentNamearg1
bool
SetConfiguredNetworksLockdownState(ComponentName, bool)
public void SetConfiguredNetworksLockdownState(ComponentName arg0, bool arg1)
Parameters
arg0
ComponentNamearg1
bool
SetContentProtectionPolicy(ComponentName, int)
public void SetContentProtectionPolicy(ComponentName arg0, int arg1)
Parameters
arg0
ComponentNamearg1
int
SetCredentialManagerPolicy(PackagePolicy)
public void SetCredentialManagerPolicy(PackagePolicy arg0)
Parameters
SetCrossProfileCalendarPackages(ComponentName, Set<String>)
[Obsolete]
public void SetCrossProfileCalendarPackages(ComponentName arg0, Set<String> arg1)
Parameters
arg0
ComponentNamearg1
Set<String>
SetCrossProfileCallerIdDisabled(ComponentName, bool)
[Obsolete]
public void SetCrossProfileCallerIdDisabled(ComponentName arg0, bool arg1)
Parameters
arg0
ComponentNamearg1
bool
SetCrossProfileContactsSearchDisabled(ComponentName, bool)
[Obsolete]
public void SetCrossProfileContactsSearchDisabled(ComponentName arg0, bool arg1)
Parameters
arg0
ComponentNamearg1
bool
SetCrossProfilePackages(ComponentName, Set<String>)
public void SetCrossProfilePackages(ComponentName arg0, Set<String> arg1)
Parameters
arg0
ComponentNamearg1
Set<String>
SetDefaultDialerApplication(String)
public void SetDefaultDialerApplication(String arg0)
Parameters
SetDefaultSmsApplication(ComponentName, String)
public void SetDefaultSmsApplication(ComponentName arg0, String arg1)
Parameters
arg0
ComponentNamearg1
String
SetDelegatedScopes(ComponentName, String, List<String>)
public void SetDelegatedScopes(ComponentName arg0, String arg1, List<String> arg2)
Parameters
arg0
ComponentNamearg1
Stringarg2
List<String>
SetDeviceOwnerLockScreenInfo(ComponentName, CharSequence)
public void SetDeviceOwnerLockScreenInfo(ComponentName arg0, CharSequence arg1)
Parameters
arg0
ComponentNamearg1
CharSequence
SetEndUserSessionMessage(ComponentName, CharSequence)
public void SetEndUserSessionMessage(ComponentName arg0, CharSequence arg1)
Parameters
arg0
ComponentNamearg1
CharSequence
SetFactoryResetProtectionPolicy(ComponentName, FactoryResetProtectionPolicy)
public void SetFactoryResetProtectionPolicy(ComponentName arg0, FactoryResetProtectionPolicy arg1)
Parameters
SetGlobalPrivateDnsModeOpportunistic(ComponentName)
public int SetGlobalPrivateDnsModeOpportunistic(ComponentName arg0)
Parameters
Returns
SetGlobalPrivateDnsModeSpecifiedHost(ComponentName, String)
public int SetGlobalPrivateDnsModeSpecifiedHost(ComponentName arg0, String arg1)
Parameters
arg0
ComponentNamearg1
String
Returns
SetGlobalSetting(ComponentName, String, String)
public void SetGlobalSetting(ComponentName arg0, String arg1, String arg2)
Parameters
arg0
ComponentNamearg1
Stringarg2
String
SetKeepUninstalledPackages(ComponentName, List<String>)
public void SetKeepUninstalledPackages(ComponentName arg0, List<String> arg1)
Parameters
arg0
ComponentNamearg1
List<String>
SetKeyPairCertificate(ComponentName, String, List<Certificate>, bool)
public bool SetKeyPairCertificate(ComponentName arg0, String arg1, List<Certificate> arg2, bool arg3)
Parameters
arg0
ComponentNamearg1
Stringarg2
List<Certificate>arg3
bool
Returns
SetKeyguardDisabled(ComponentName, bool)
public bool SetKeyguardDisabled(ComponentName arg0, bool arg1)
Parameters
arg0
ComponentNamearg1
bool
Returns
SetKeyguardDisabledFeatures(ComponentName, int)
public void SetKeyguardDisabledFeatures(ComponentName arg0, int arg1)
Parameters
arg0
ComponentNamearg1
int
SetLocationEnabled(ComponentName, bool)
public void SetLocationEnabled(ComponentName arg0, bool arg1)
Parameters
arg0
ComponentNamearg1
bool
SetLockTaskFeatures(ComponentName, int)
public void SetLockTaskFeatures(ComponentName arg0, int arg1)
Parameters
arg0
ComponentNamearg1
int
SetLockTaskPackages(ComponentName, String[])
public void SetLockTaskPackages(ComponentName arg0, String[] arg1)
Parameters
arg0
ComponentNamearg1
String[]
Exceptions
SetLogoutEnabled(ComponentName, bool)
public void SetLogoutEnabled(ComponentName arg0, bool arg1)
Parameters
arg0
ComponentNamearg1
bool
SetLongSupportMessage(ComponentName, CharSequence)
public void SetLongSupportMessage(ComponentName arg0, CharSequence arg1)
Parameters
arg0
ComponentNamearg1
CharSequence
SetManagedProfileCallerIdAccessPolicy(PackagePolicy)
public void SetManagedProfileCallerIdAccessPolicy(PackagePolicy arg0)
Parameters
SetManagedProfileContactsAccessPolicy(PackagePolicy)
public void SetManagedProfileContactsAccessPolicy(PackagePolicy arg0)
Parameters
SetManagedProfileMaximumTimeOff(ComponentName, long)
public void SetManagedProfileMaximumTimeOff(ComponentName arg0, long arg1)
Parameters
arg0
ComponentNamearg1
long
SetManagedSubscriptionsPolicy(ManagedSubscriptionsPolicy)
public void SetManagedSubscriptionsPolicy(ManagedSubscriptionsPolicy arg0)
Parameters
SetMasterVolumeMuted(ComponentName, bool)
public void SetMasterVolumeMuted(ComponentName arg0, bool arg1)
Parameters
arg0
ComponentNamearg1
bool
SetMaximumFailedPasswordsForWipe(ComponentName, int)
public void SetMaximumFailedPasswordsForWipe(ComponentName arg0, int arg1)
Parameters
arg0
ComponentNamearg1
int
SetMaximumTimeToLock(ComponentName, long)
public void SetMaximumTimeToLock(ComponentName arg0, long arg1)
Parameters
arg0
ComponentNamearg1
long
SetMeteredDataDisabledPackages(ComponentName, List<String>)
public List<String> SetMeteredDataDisabledPackages(ComponentName arg0, List<String> arg1)
Parameters
arg0
ComponentNamearg1
List<String>
Returns
SetMinimumRequiredWifiSecurityLevel(int)
public void SetMinimumRequiredWifiSecurityLevel(int arg0)
Parameters
SetMtePolicy(int)
https://developer.android.com/reference/android/app/admin/DevicePolicyManager.html#setMtePolicy(int)
public void SetMtePolicy(int arg0)
Parameters
SetNearbyAppStreamingPolicy(int)
public void SetNearbyAppStreamingPolicy(int arg0)
Parameters
SetNearbyNotificationStreamingPolicy(int)
public void SetNearbyNotificationStreamingPolicy(int arg0)
Parameters
SetNetworkLoggingEnabled(ComponentName, bool)
public void SetNetworkLoggingEnabled(ComponentName arg0, bool arg1)
Parameters
arg0
ComponentNamearg1
bool
SetOrganizationColor(ComponentName, int)
[Obsolete]
public void SetOrganizationColor(ComponentName arg0, int arg1)
Parameters
arg0
ComponentNamearg1
int
SetOrganizationId(String)
public void SetOrganizationId(String arg0)
Parameters
SetOrganizationName(ComponentName, CharSequence)
public void SetOrganizationName(ComponentName arg0, CharSequence arg1)
Parameters
arg0
ComponentNamearg1
CharSequence
SetOverrideApnsEnabled(ComponentName, bool)
public void SetOverrideApnsEnabled(ComponentName arg0, bool arg1)
Parameters
arg0
ComponentNamearg1
bool
SetPackagesSuspended(ComponentName, String[], bool)
public String[] SetPackagesSuspended(ComponentName arg0, String[] arg1, bool arg2)
Parameters
arg0
ComponentNamearg1
String[]arg2
bool
Returns
SetPasswordExpirationTimeout(ComponentName, long)
public void SetPasswordExpirationTimeout(ComponentName arg0, long arg1)
Parameters
arg0
ComponentNamearg1
long
SetPasswordHistoryLength(ComponentName, int)
public void SetPasswordHistoryLength(ComponentName arg0, int arg1)
Parameters
arg0
ComponentNamearg1
int
SetPasswordMinimumLength(ComponentName, int)
[Obsolete]
public void SetPasswordMinimumLength(ComponentName arg0, int arg1)
Parameters
arg0
ComponentNamearg1
int
SetPasswordMinimumLetters(ComponentName, int)
[Obsolete]
public void SetPasswordMinimumLetters(ComponentName arg0, int arg1)
Parameters
arg0
ComponentNamearg1
int
SetPasswordMinimumLowerCase(ComponentName, int)
[Obsolete]
public void SetPasswordMinimumLowerCase(ComponentName arg0, int arg1)
Parameters
arg0
ComponentNamearg1
int
SetPasswordMinimumNonLetter(ComponentName, int)
[Obsolete]
public void SetPasswordMinimumNonLetter(ComponentName arg0, int arg1)
Parameters
arg0
ComponentNamearg1
int
SetPasswordMinimumNumeric(ComponentName, int)
[Obsolete]
public void SetPasswordMinimumNumeric(ComponentName arg0, int arg1)
Parameters
arg0
ComponentNamearg1
int
SetPasswordMinimumSymbols(ComponentName, int)
[Obsolete]
public void SetPasswordMinimumSymbols(ComponentName arg0, int arg1)
Parameters
arg0
ComponentNamearg1
int
SetPasswordMinimumUpperCase(ComponentName, int)
[Obsolete]
public void SetPasswordMinimumUpperCase(ComponentName arg0, int arg1)
Parameters
arg0
ComponentNamearg1
int
SetPasswordQuality(ComponentName, int)
[Obsolete]
public void SetPasswordQuality(ComponentName arg0, int arg1)
Parameters
arg0
ComponentNamearg1
int
SetPermissionGrantState(ComponentName, String, String, int)
public bool SetPermissionGrantState(ComponentName arg0, String arg1, String arg2, int arg3)
Parameters
arg0
ComponentNamearg1
Stringarg2
Stringarg3
int
Returns
SetPermissionPolicy(ComponentName, int)
public void SetPermissionPolicy(ComponentName arg0, int arg1)
Parameters
arg0
ComponentNamearg1
int
SetPermittedAccessibilityServices(ComponentName, List<String>)
public bool SetPermittedAccessibilityServices(ComponentName arg0, List<String> arg1)
Parameters
arg0
ComponentNamearg1
List<String>
Returns
SetPermittedCrossProfileNotificationListeners(ComponentName, List<String>)
public bool SetPermittedCrossProfileNotificationListeners(ComponentName arg0, List<String> arg1)
Parameters
arg0
ComponentNamearg1
List<String>
Returns
SetPermittedInputMethods(ComponentName, List<String>)
public bool SetPermittedInputMethods(ComponentName arg0, List<String> arg1)
Parameters
arg0
ComponentNamearg1
List<String>
Returns
SetPersonalAppsSuspended(ComponentName, bool)
public void SetPersonalAppsSuspended(ComponentName arg0, bool arg1)
Parameters
arg0
ComponentNamearg1
bool
SetPreferentialNetworkServiceConfigs(List<PreferentialNetworkServiceConfig>)
public void SetPreferentialNetworkServiceConfigs(List<PreferentialNetworkServiceConfig> arg0)
Parameters
SetPreferentialNetworkServiceEnabled(bool)
public void SetPreferentialNetworkServiceEnabled(bool arg0)
Parameters
SetProfileEnabled(ComponentName)
public void SetProfileEnabled(ComponentName arg0)
Parameters
SetProfileName(ComponentName, String)
public void SetProfileName(ComponentName arg0, String arg1)
Parameters
arg0
ComponentNamearg1
String
SetRecommendedGlobalProxy(ComponentName, ProxyInfo)
public void SetRecommendedGlobalProxy(ComponentName arg0, ProxyInfo arg1)
Parameters
arg0
ComponentNamearg1
ProxyInfo
SetRequiredPasswordComplexity(int)
public void SetRequiredPasswordComplexity(int arg0)
Parameters
SetRequiredStrongAuthTimeout(ComponentName, long)
public void SetRequiredStrongAuthTimeout(ComponentName arg0, long arg1)
Parameters
arg0
ComponentNamearg1
long
SetResetPasswordToken(ComponentName, byte[])
public bool SetResetPasswordToken(ComponentName arg0, byte[] arg1)
Parameters
arg0
ComponentNamearg1
byte[]
Returns
SetRestrictionsProvider(ComponentName, ComponentName)
public void SetRestrictionsProvider(ComponentName arg0, ComponentName arg1)
Parameters
arg0
ComponentNamearg1
ComponentName
SetScreenCaptureDisabled(ComponentName, bool)
public void SetScreenCaptureDisabled(ComponentName arg0, bool arg1)
Parameters
arg0
ComponentNamearg1
bool
SetSecureSetting(ComponentName, String, String)
public void SetSecureSetting(ComponentName arg0, String arg1, String arg2)
Parameters
arg0
ComponentNamearg1
Stringarg2
String
SetSecurityLoggingEnabled(ComponentName, bool)
public void SetSecurityLoggingEnabled(ComponentName arg0, bool arg1)
Parameters
arg0
ComponentNamearg1
bool
SetShortSupportMessage(ComponentName, CharSequence)
public void SetShortSupportMessage(ComponentName arg0, CharSequence arg1)
Parameters
arg0
ComponentNamearg1
CharSequence
SetStartUserSessionMessage(ComponentName, CharSequence)
public void SetStartUserSessionMessage(ComponentName arg0, CharSequence arg1)
Parameters
arg0
ComponentNamearg1
CharSequence
SetStatusBarDisabled(ComponentName, bool)
public bool SetStatusBarDisabled(ComponentName arg0, bool arg1)
Parameters
arg0
ComponentNamearg1
bool
Returns
SetStorageEncryption(ComponentName, bool)
[Obsolete]
public int SetStorageEncryption(ComponentName arg0, bool arg1)
Parameters
arg0
ComponentNamearg1
bool
Returns
SetSystemSetting(ComponentName, String, String)
public void SetSystemSetting(ComponentName arg0, String arg1, String arg2)
Parameters
arg0
ComponentNamearg1
Stringarg2
String
SetSystemUpdatePolicy(ComponentName, SystemUpdatePolicy)
public void SetSystemUpdatePolicy(ComponentName arg0, SystemUpdatePolicy arg1)
Parameters
SetTime(ComponentName, long)
public bool SetTime(ComponentName arg0, long arg1)
Parameters
arg0
ComponentNamearg1
long
Returns
SetTimeZone(ComponentName, String)
public bool SetTimeZone(ComponentName arg0, String arg1)
Parameters
arg0
ComponentNamearg1
String
Returns
SetTrustAgentConfiguration(ComponentName, ComponentName, PersistableBundle)
public void SetTrustAgentConfiguration(ComponentName arg0, ComponentName arg1, PersistableBundle arg2)
Parameters
arg0
ComponentNamearg1
ComponentNamearg2
PersistableBundle
SetUninstallBlocked(ComponentName, String, bool)
public void SetUninstallBlocked(ComponentName arg0, String arg1, bool arg2)
Parameters
arg0
ComponentNamearg1
Stringarg2
bool
SetUsbDataSignalingEnabled(bool)
public void SetUsbDataSignalingEnabled(bool arg0)
Parameters
SetUserControlDisabledPackages(ComponentName, List<String>)
public void SetUserControlDisabledPackages(ComponentName arg0, List<String> arg1)
Parameters
arg0
ComponentNamearg1
List<String>
SetUserIcon(ComponentName, Bitmap)
public void SetUserIcon(ComponentName arg0, Bitmap arg1)
Parameters
arg0
ComponentNamearg1
Bitmap
SetWifiSsidPolicy(WifiSsidPolicy)
public void SetWifiSsidPolicy(WifiSsidPolicy arg0)
Parameters
StartUserInBackground(ComponentName, UserHandle)
public int StartUserInBackground(ComponentName arg0, UserHandle arg1)
Parameters
arg0
ComponentNamearg1
UserHandle
Returns
StopUser(ComponentName, UserHandle)
public int StopUser(ComponentName arg0, UserHandle arg1)
Parameters
arg0
ComponentNamearg1
UserHandle
Returns
SwitchUser(ComponentName, UserHandle)
public bool SwitchUser(ComponentName arg0, UserHandle arg1)
Parameters
arg0
ComponentNamearg1
UserHandle
Returns
TransferOwnership(ComponentName, ComponentName, PersistableBundle)
public void TransferOwnership(ComponentName arg0, ComponentName arg1, PersistableBundle arg2)
Parameters
arg0
ComponentNamearg1
ComponentNamearg2
PersistableBundle
UninstallAllUserCaCerts(ComponentName)
public void UninstallAllUserCaCerts(ComponentName arg0)
Parameters
UninstallCaCert(ComponentName, byte[])
public void UninstallCaCert(ComponentName arg0, byte[] arg1)
Parameters
arg0
ComponentNamearg1
byte[]
UpdateOverrideApn(ComponentName, int, ApnSetting)
public bool UpdateOverrideApn(ComponentName arg0, int arg1, ApnSetting arg2)
Parameters
arg0
ComponentNamearg1
intarg2
ApnSetting
Returns
WipeData(int)
public void WipeData(int arg0)
Parameters
WipeData(int, CharSequence)
public void WipeData(int arg0, CharSequence arg1)
Parameters
arg0
intarg1
CharSequence
WipeDevice(int)
public void WipeDevice(int arg0)