java.lang.Object | |
↳ | com.samsung.android.knox.custom.CustomDeviceManager |
This class provides the public interface for device customization.
NOTE: Since version 2.5, the architecture of the SDK changed.
Now, all APIs are members of different classes according to their permission type.
(APIs with permission type KNOX_CUSTOM_PROKIOSK, KNOX_CUSTOM_SETTING & KNOX_CUSTOM_SYSTEM are placed in ProKioskManager
, SettingsManager
& SystemManager
classes respectively).
Additionally, a main interface class has been created, CustomDeviceManager
, which allows public access to the above classes and provides some utility APIs.
API level 17 |
Version 2.5 |
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | ACCESSIBILITY_ALL | Bit mask for controlling all available accessibility settings. | |||||||||
int | ACCESSIBILITY_ANSWER_CALL_ON_HOME | Bit mask for answering calls by pressing the Home button. | |||||||||
int | ACCESSIBILITY_ANSWER_CALL_ON_VOICE | Deprecated in API level 27 | |||||||||
int | ACCESSIBILITY_END_CALL_ON_POWER | Bit mask for ending calls by pressing the Power button. | |||||||||
int | ACCESSIBILITY_NONE | Bit mask to indicate no control over accessibility settings. | |||||||||
int | ACCESSIBILITY_NOTIFICATION_REMINDER | Bit mask for controlling notification reminders. | |||||||||
int | ACCESSIBILITY_SINGLE_TAP_MODE | Bit mask for controlling single tap mode. | |||||||||
String | ACTION_HARD_KEY_PRESS | The device will broadcast the intent When the state of hard key intent reporting is turned on. | |||||||||
String | ACTION_HARD_KEY_REPORT | Intent that will be broadcasted specifying the key that was pressed and the type of key press. | |||||||||
int | ADD | The control is add | |||||||||
int | ALLOW | The feature is allow. | |||||||||
int | ALPHABETIC_GRID | Flag to indicate that the alignment is alphabetical in DeX mode. | |||||||||
int | ANIMATION_MODE_SHUTDOWN | Shutdown animation mode. | |||||||||
int | ANIMATION_MODE_STARTUP | Startup animation mode. | |||||||||
int | ANSWER_MODE_DEFAULT | Default auto pickup answer mode. | |||||||||
int | ANSWER_MODE_SPEAKER | Speaker auto pickup answer mode. | |||||||||
int | BACKUP | Flag to indicate control of the Backup state. | |||||||||
int | BOLD_ITALIC_TEXT_STYLE | Bold and italic text style. | |||||||||
int | BOLD_TEXT_STYLE | Bold text style. | |||||||||
int | BOTTOM_LEFT | Bottom left lock screen shortcut. | |||||||||
int | BOTTOM_RIGHT | Bottom right lock screen shortcut. | |||||||||
int | CALL_SCREEN_ALL | Bit mask to indicate in-call controls should be disabled. | |||||||||
int | CALL_SCREEN_ENDCALL_CALL_BUTTONS | Bit mask to indicate end-of-call redial controls should be disabled. | |||||||||
int | CALL_SCREEN_ENDCALL_CONTACTS | Bit mask to indicate end-of-call contacts control should be disabled. | |||||||||
int | CALL_SCREEN_INCALL_ADD_CALL | Bit mask to indicate in-call add call control should be disabled. | |||||||||
int | CALL_SCREEN_INCALL_BLUETOOTH | Bit mask to indicate in-call Bluetooth control should be disabled. | |||||||||
int | CALL_SCREEN_INCALL_EXTRA_VOLUME | Bit mask to indicate in-call volume control should be disabled. | |||||||||
int | CALL_SCREEN_INCALL_MENU | Bit mask to indicate in-call menu should be disabled. | |||||||||
int | CALL_SCREEN_INCALL_MUTE | Bit mask to indicate in-call mute control should be disabled. | |||||||||
int | CALL_SCREEN_INCALL_SPEAKER | Bit mask to indicate in-call speaker control should be disabled. | |||||||||
int | CALL_SCREEN_NONE | Bit mask to indicate no in-call controls should be disabled. | |||||||||
int | CLASS_STRING | The class name for the Exit UI. | |||||||||
int | CLEAR | The control is clear | |||||||||
int | CUSTOM_GRID | Flag to indicate that the alignment is custom in DeX mode. | |||||||||
int | DEFAULT | The control visibility is default. | |||||||||
int | DESTINATION_ADDRESS | The destination IP address. | |||||||||
int | DISABLE | The feature is disabled. | |||||||||
int | DISALLOW | The feature is disallow. | |||||||||
int | ENABLE | The feature is enabled. | |||||||||
int | ERROR_ALREADY_EXISTS | Indicates that the item already exists. | |||||||||
int | ERROR_BUSY | Indicates that the service is busy with another request. | |||||||||
int | ERROR_DEX_MODE | Flag to indicate that the device is in DeX mode and prokiosk mode can not be started. | |||||||||
int | ERROR_FAIL | Indicates that the operation failed. | |||||||||
int | ERROR_INVALID_ADDRESS | Indicates that the address format is invalid. | |||||||||
int | ERROR_INVALID_CALLBACK | Indicates that the supplied callback is invalid. | |||||||||
int | ERROR_INVALID_CURRENT | Indicates that the supplied value is an invalid current. | |||||||||
int | ERROR_INVALID_DEVICE | Indicates that the supplied device is invalid. | |||||||||
int | ERROR_INVALID_EMERGENCY_NUMBER | Indicates that the supplied emergency number is invalid. | |||||||||
int | ERROR_INVALID_INPUT_TYPE | Indicates that the input method type is invalid. | |||||||||
int | ERROR_INVALID_LENGTH | Indicates that the supplied value has an invalid length. | |||||||||
int | ERROR_INVALID_LOCALE | Indicates that the locale or language is invalid. | |||||||||
int | ERROR_INVALID_MEDIA | Indicates that the media (eg. | |||||||||
int | ERROR_INVALID_MODE_TYPE | Indicates that the mode for the operation is invalid. | |||||||||
int | ERROR_INVALID_PACKAGE | Indicates that the package name is invalid. | |||||||||
int | ERROR_INVALID_PASSCODE | Indicates that the supplied passcode is incorrect. | |||||||||
int | ERROR_INVALID_PERCENT_VALUE | Indicates that the supplied percentage value is incorrect. | |||||||||
int | ERROR_INVALID_PERMISSION | Indicates that the permission type is incorrect. | |||||||||
int | ERROR_INVALID_RING_TONE_TYPE | Indicates that the ringtone type is invalid. | |||||||||
int | ERROR_INVALID_ROTATION_TYPE | Indicates that the rotation value is invalid. | |||||||||
int | ERROR_INVALID_SOUND_TYPE | Indicates that the sound stream is invalid. | |||||||||
int | ERROR_INVALID_STRING | Indicates that the supplied string is invalid. | |||||||||
int | ERROR_INVALID_STRING_TYPE | Indicates that the string type is invalid. | |||||||||
int | ERROR_INVALID_TIMEOUT | Indicates that the timeout is invalid or negative. | |||||||||
int | ERROR_INVALID_UID | Indicates that the supplied UID is invalid. | |||||||||
int | ERROR_INVALID_VALUE | Indicates that the supplied value is invalid. | |||||||||
int | ERROR_NOT_FOUND | Indicates that the item was not found. | |||||||||
int | ERROR_NOT_SUPPORTED | Indicates that this method is not supported on this device. | |||||||||
int | ERROR_PERMISSION_DENIED | Indicates that ProKiosk Mode is enabled by another admin. | |||||||||
int | ERROR_POLICY_RESTRICTED | Indicates that this method is restricted by EDM policy. | |||||||||
int | ERROR_PRO_KIOSK_ACTIVE | Indicates that ProKiosk Mode is already enabled. | |||||||||
int | ERROR_PRO_KIOSK_NOT_ACTIVE | Indicates that ProKiosk Mode is not enabled. | |||||||||
int | ERROR_RING_TONE_NOT_FOUND | Indicates that the ringtone is not found on the device. | |||||||||
int | ERROR_SIM_NOT_READY | Indicates that the required SIM is not ready. | |||||||||
int | ERROR_UNKNOWN | Indicates an unknown error. | |||||||||
int | ETHERNET_DHCP | DHCP based Ethernet configuration. | |||||||||
int | ETHERNET_STATIC_IP | Static IP based Ethernet configuration. | |||||||||
String | EXTRA_KEY_CODE | An int containing the keycode from a hard key press. | |||||||||
String | EXTRA_REPORT_TYPE | Extra for ACTION_HARD_KEY_REPORT that specifies type of key press. |
|||||||||
String | EXTRA_REPORT_TYPE_NEW | Extra for setHardKeyIntentBroadcast(boolean, int, int, Intent, String, boolean) that specifies type of key press. |
|||||||||
String | EXTRA_REPORT_TYPE_NEW_LONG_UP | An boolean for setHardKeyIntentBroadcast(boolean, int, int, Intent, String, boolean) , containing whether it is release after long press. |
|||||||||
int | FLAG_LOCK_DEX | Flag: set or retrieve the lock-screen-specific wallpaper on monitor when it is Dex mode. | |||||||||
int | FLAG_LOCK_SUB_DISPLAY | Flag: Set or get the lockscreen wallpaper on the front display. | |||||||||
int | FLAG_SYSTEM_DEX | Flag: set or retrieve the general system wallpaper on monitor when it is Dex mode. | |||||||||
int | FLAG_SYSTEM_SUB_DISPLAY | Flag: Set or get the wallpaper on the front display when the device is unlocked. | |||||||||
int | FOLDER_COLOUR_1 | Folder Color 1 NOTE: Actual color will be dependent on the device or theme. | |||||||||
int | FOLDER_COLOUR_2 | Folder Color 2 NOTE: Actual color will be dependent on the device or theme. | |||||||||
int | FOLDER_COLOUR_3 | Folder Color 3 NOTE: Actual color will be dependent on the device or theme. | |||||||||
int | FOLDER_COLOUR_4 | Folder Color 4 NOTE: Actual color will be dependent on the device or theme. | |||||||||
int | FOLDER_COLOUR_5 | Folder Color 5 NOTE: Actual color will be dependent on the device or theme. | |||||||||
int | GESTURE_AIR_COMMAND | Gesture for air command. | |||||||||
int | GESTURE_AIR_VIEW | Gesture for air view. | |||||||||
int | HDMI_AUTO_ENTER_DEFAULT | The feature is Dex HDMI Auto Enter DEFAULT. | |||||||||
int | HDMI_AUTO_ENTER_ON | The feature is Dex HDMI Auto Enter On. | |||||||||
int | HDMI_AUTO_ENTER_RESET | The feature is Dex HDMI Auto Enter Reset. | |||||||||
int | HDMI_AUTO_ENTER_RESTORE | The feature is Dex HDMI Auto Enter Restore. | |||||||||
int | HIDE | The control is hidden. | |||||||||
int | HOME_SCREEN_AND_APPS | Flag to indicate that the home screen mode should display only selected applications. | |||||||||
int | HOME_SCREEN_ONLY | Flag to indicate that the home screen mode should display all applications. | |||||||||
int | IMMEDIATELY | Flag to indicate that the device should shut down immediately. | |||||||||
int | ITALIC_TEXT_STYLE | Italic text style. | |||||||||
int | KERNEL_LOG | Copy kernel logs. | |||||||||
int | KEYBOARD_MODE_NORMAL | Normal keyboard mode. | |||||||||
int | KEYBOARD_MODE_PREDICTION_OFF | Prediction off keyboard mode. | |||||||||
int | KEYBOARD_MODE_SETTINGS_OFF | No settings keyboard mode. | |||||||||
int | KEY_ACTION_DOUBLE | Flag to indicate that a key action double shall be reported. | |||||||||
int | KEY_ACTION_DOWN | Flag to indicate that a key action down shall be reported. | |||||||||
int | KEY_ACTION_DOWN_UP | Flag to indicate that a key action down&up shall be reported. | |||||||||
int | KEY_ACTION_LONG | Flag to indicate that a key action long shall be reported. | |||||||||
int | KEY_ACTION_UP | Flag to indicate that a key action up shall be reported. | |||||||||
int | LOCK_SCREEN_ALL | Bit mask to indicate all lock screen elements should be disabled. | |||||||||
int | LOCK_SCREEN_BATTERY_INFO | Bit mask to indicate the lock screen battery element should be disabled. | |||||||||
int | LOCK_SCREEN_CARRIER_INFO | Bit mask to indicate the lock screen carrier information element should be disabled. | |||||||||
int | LOCK_SCREEN_CLOCK | Bit mask to indicate the lock screen clock element should be disabled. | |||||||||
int | LOCK_SCREEN_DATE | Bit mask to indicate the lock screen date element should be disabled. | |||||||||
int | LOCK_SCREEN_HELP_TEXT | Bit mask to indicate the lock screen help text element should be disabled. | |||||||||
int | LOCK_SCREEN_NONE | Bit mask to indicate no lock screen elements should be disabled. | |||||||||
int | LOCK_SCREEN_NOTIFICATIONS | Bit mask to indicate the lock screen notifications should be disabled. | |||||||||
int | LOCK_SCREEN_OVERRIDE_NONE | Deprecated in API level 27 | |||||||||
int | LOCK_SCREEN_OVERRIDE_NORMAL | Deprecated in API level 27 | |||||||||
int | LOCK_SCREEN_OVERRIDE_SWIPE | Deprecated in API level 27 | |||||||||
int | LOCK_SCREEN_OWNER_INFO | Bit mask to indicate the lock screen owner information element should be disabled. | |||||||||
int | LOCK_SCREEN_SHORTCUT | Bit mask to indicate the lock screen shorcut elements should be disabled. | |||||||||
int | LOGCAT_LOG | Copy adb debug logs. | |||||||||
int | MAX_HOME_SCREEN_NUM | Maximum number of Home screens. | |||||||||
int | MAX_QUICK_EDIT_ITEMS_PHONE | Maximum number of quick edit items for a phone. | |||||||||
int | MAX_QUICK_EDIT_ITEMS_TABLET | Maximum number of quick edit items for a tablet. | |||||||||
int | MEDIA_PLAYBACK | The volume for audio and video playback. | |||||||||
int | MOTION | Flag to indicate control of the Motion options. | |||||||||
int | MULTI_WINDOW_FIXED_STATE | Deprecated in API level 27 | |||||||||
int | MULTI_WINDOW_PERCENTAGE | Deprecated in API level 27 | |||||||||
int | NETWORK_TYPE_GSM_ONLY | Deprecated in API level 33 | |||||||||
int | NETWORK_TYPE_LTE_GSM_WCDMA | Deprecated in API level 33 | |||||||||
int | NETWORK_TYPE_LTE_ONLY | Deprecated in API level 33 | |||||||||
int | NETWORK_TYPE_WCDMA_ONLY | Deprecated in API level 33 | |||||||||
int | NETWORK_TYPE_WCDMA_PREF | Deprecated in API level 33 | |||||||||
int | NORMAL | Flag to indicate that the force auto shutdown feature is turned off. | |||||||||
int | NOTIFICATIONS | The volume for message notifications. | |||||||||
int | NOTIFICATIONS_ALL | Bit mask to show/hide all warning dialog. | |||||||||
int | NOTIFICATIONS_BATTERY_FULL | Bit mask to show/hide the battery full dialog. | |||||||||
int | NOTIFICATIONS_BATTERY_LOW | Bit mask to show/hide the battery low warning dialog. | |||||||||
int | NOTIFICATIONS_NITZ_SET_TIME | Bit mask to show/hide the NITZ set time dialog. | |||||||||
int | NOTIFICATIONS_NONE | Bit mask to indicate no notifications. | |||||||||
int | NOTIFICATIONS_STATUS_BAR | Bit mask to show/hide the status bar warnings. | |||||||||
int | OFF | The feature is off. | |||||||||
int | ON | The feature is on. | |||||||||
int | PACKAGE_STRING | The package name for the Exit UI. | |||||||||
int | PALM_MOTION | Flag to indicate control of the Palm Motion options. | |||||||||
int | POWER_DIALOG_ALL | Flag to show all Power dialog options. | |||||||||
int | POWER_DIALOG_BUGREPORT | Flag to show the bug report Power dialog option. | |||||||||
int | POWER_DIALOG_EMERGENCY | Flag to show the emergency mode Power dialog option. | |||||||||
int | POWER_DIALOG_NONE | Flag to hide all Power dialog options. | |||||||||
int | POWER_DIALOG_POWEROFF | Flag to show the power off Power dialog option. | |||||||||
int | POWER_DIALOG_RESTART | Flag to show the restart Power dialog option. | |||||||||
int | POWER_SAVING_OFF | Power saving will be switched off. | |||||||||
int | POWER_SAVING_ON | Power saving will be switched on. | |||||||||
int | POWER_SAVING_ULTRA | Deprecated in API level 35 | |||||||||
int | POWER_SAVING_ULTRA_OFF | Deprecated in API level 35 | |||||||||
int | PRO_KIOSK_OFF_STRING | The string for the power menu state if ProKiosk Mode is disabled. | |||||||||
int | PRO_KIOSK_ON_STRING | The string for the power menu state if ProKiosk Mode is enabled. | |||||||||
int | PRO_KIOSK_OPTION_STRING | The string for the ProKiosk Mode option on the power menu. | |||||||||
int | PRO_KIOSK_SETTINGS_ALL | Mask for all ProKiosk Mode UI elements in the Settings app. | |||||||||
int | PRO_KIOSK_SETTINGS_BLUETOOTH | Bluetooth mask for ProKiosk Mode UI elements in the Settings app. | |||||||||
int | PRO_KIOSK_SETTINGS_LOCATION | Location mask for ProKiosk Mode UI elements in the Settings app. | |||||||||
int | PRO_KIOSK_SETTINGS_NONE | Empty mask for ProKiosk Mode UI elements in the Settings app. | |||||||||
int | PRO_KIOSK_SETTINGS_WIFI | Wi-Fi mask for ProKiosk Mode UI elements in the Settings app. | |||||||||
int | QUICK_PANEL_AIRPLANE_MODE | Airplane mode quick panel item. | |||||||||
int | QUICK_PANEL_ALL_SHARE_CAST | Screen mirroring quick panel item. | |||||||||
int | QUICK_PANEL_ALWAYS_ON_DISPLAY | Always on display quick panel item. | |||||||||
int | QUICK_PANEL_AUTO_ROTATE | Auto rotate quick panel item. | |||||||||
int | QUICK_PANEL_BATTERY_MODE | Battery mode quick panel item. | |||||||||
int | QUICK_PANEL_BLUETOOTH | Bluetooth quick panel item. | |||||||||
int | QUICK_PANEL_BLUE_LIGHT_FILTER | Blue light filter quick panel item. | |||||||||
int | QUICK_PANEL_BUTTON_ALL | All quick panel buttons. | |||||||||
int | QUICK_PANEL_BUTTON_BRIGHTNESS | Brightness quick panel button. | |||||||||
int | QUICK_PANEL_BUTTON_NONE | No quick panel button. | |||||||||
int | QUICK_PANEL_BUTTON_QUICK_CONNECT | Quick Connect quick panel button. | |||||||||
int | QUICK_PANEL_BUTTON_S_FINDER | S-Finder quick panel button. | |||||||||
int | QUICK_PANEL_BUTTON_USERS | Users panel buttons. | |||||||||
int | QUICK_PANEL_DAILY_BOARD | DailyBoard quick panel item. | |||||||||
int | QUICK_PANEL_DEVICE_VISIBILITY | Device visibility quick panel item. | |||||||||
int | QUICK_PANEL_DEX_MODE | Dex mode quick panel item. | |||||||||
int | QUICK_PANEL_DOLBY | Dolby quick panel item. | |||||||||
int | QUICK_PANEL_DORMANT_MODE | Do not disturb quick panel item. | |||||||||
int | QUICK_PANEL_LOCATION | Location quick panel item. | |||||||||
int | QUICK_PANEL_MOBILE_DATA | Mobile data quick panel item. | |||||||||
int | QUICK_PANEL_MULTI_WINDOW | Multi window quick panel item. | |||||||||
int | QUICK_PANEL_NFC | NFC quick panel item. | |||||||||
int | QUICK_PANEL_NONE | No quick panel item. | |||||||||
int | QUICK_PANEL_PERSONAL_MODE | Private mode quick panel item. | |||||||||
int | QUICK_PANEL_POWER_SAVING | Deprecated in API level 27 | |||||||||
int | QUICK_PANEL_SECURE_FOLDER | SecureFolder quick panel item. | |||||||||
int | QUICK_PANEL_SILENT_MODE | Sound quick panel item. | |||||||||
int | QUICK_PANEL_SMART_STAY | Smart Stay quick panel item. | |||||||||
int | QUICK_PANEL_SYNC | Background sync quick panel item. | |||||||||
int | QUICK_PANEL_S_FINDER | S-Finder quick panel item. | |||||||||
int | QUICK_PANEL_TORCH_LIGHT | Torch quick panel item. | |||||||||
int | QUICK_PANEL_ULTRA_POWER_SAVING | Deprecated in API level 27 | |||||||||
int | QUICK_PANEL_WIFI | Wi-Fi quick panel item. | |||||||||
int | QUICK_PANEL_WIFI_HOTSPOT | Mobile hotspot quick panel item. | |||||||||
int | RECENT_LONGPRESS_GLOBAL | Flag to indicate the Recent Button long Press starts the specified application whenever the button is long pressed. | |||||||||
int | RECENT_LONGPRESS_HOME | Flag to indicate the Recent Button long Press starts the specified application when the home application is active. | |||||||||
int | RECENT_LONGPRESS_OFF | Flag to indicate the Recent Button long Press operates in default manner. | |||||||||
int | REMOVE | The control is remove | |||||||||
int | RESTORE | Flag to indicate control of the Restore state. | |||||||||
int | RINGER | The volume for incoming calls. | |||||||||
int | ROTATION_0 | Deprecated in API level 27 | |||||||||
int | ROTATION_180 | Deprecated in API level 27 | |||||||||
int | ROTATION_270 | Deprecated in API level 27 | |||||||||
int | ROTATION_90 | Deprecated in API level 27 | |||||||||
int | ROTATION_CURRENT | Deprecated in API level 27 | |||||||||
String | SCREEN_NUMBER_STRING | String for selecting a home screen. | |||||||||
int | SENSOR_ACCELEROMETER | Bit mask to indicate the accelerometer sensor should be disabled. | |||||||||
int | SENSOR_ALL | Bit mask to indicate all sensors should be disabled. | |||||||||
int | SENSOR_GYROSCOPE | Bit mask to indicate the gyroscope sensor should be disabled. | |||||||||
int | SENSOR_LIGHT | Bit mask to indicate the light sensor should be disabled. | |||||||||
int | SENSOR_MAGNETIC | Bit mask to indicate the magnetic sensor should be disabled. | |||||||||
int | SENSOR_NONE | Bit mask to indicate no sensors should be disabled. | |||||||||
int | SENSOR_PRESSURE | Bit mask to indicate the pressure sensor should be disabled. | |||||||||
int | SENSOR_PROXIMITY | Bit mask to indicate the proximity sensor should be disabled. | |||||||||
int | SETTINGS_ALL | Mask for all UI elements in the Settings app. | |||||||||
int | SETTINGS_ALL_PREVIOUS | Mask for all UI elements in the Settings app. | |||||||||
int | SETTINGS_APPLICATIONS | Applications mask for UI elements in the Settings app. | |||||||||
int | SETTINGS_BACKUP | Backup mask for UI elements in the Settings app. | |||||||||
int | SETTINGS_BACKUP_RESET | Backup & reset mask for UI elements in the Settings app. | |||||||||
int | SETTINGS_BLUETOOTH | Bluetooth mask for UI elements in the Settings app. | |||||||||
int | SETTINGS_DEVELOPER | Developer mask for UI elements in the Settings app. | |||||||||
int | SETTINGS_FLIGHT_MODE | Flight mode mask for UI elements in the Settings app. | |||||||||
int | SETTINGS_LANGUAGE | Language mask for UI elements in the Settings app. | |||||||||
int | SETTINGS_LOCATION | Location mask for UI elements in the Settings app. | |||||||||
int | SETTINGS_LOCK_SCREEN | Lock screen mask for UI elements in the Settings app. | |||||||||
int | SETTINGS_MULTI_WINDOW | Deprecated in API level 27 | |||||||||
int | SETTINGS_RESET | Reset mask for UI elements in the Settings app. | |||||||||
int | SETTINGS_USERS | Users mask for UI elements in the Settings app. | |||||||||
int | SETTINGS_WIFI | Wi-Fi mask for UI elements in the Settings app. | |||||||||
int | SHORTCUT_APP_TYPE | Application home screen shortcut. | |||||||||
int | SHORTCUT_FILE_TYPE | File or bookmark home screen shortcut. | |||||||||
int | SHORTCUT_FOLDER_TYPE | Folder home screen shortcut . | |||||||||
int | SHOW | The control is visible. | |||||||||
int | SOURCE_ADDRESS | The source IP address. | |||||||||
int | SUCCESS | Indicates that the operation was successful. | |||||||||
int | SYSTEM_SOUNDS | The volume for general system sounds. | |||||||||
int | SYSTEM_SOUNDS_ALL | Bit mask for specifying all system sounds. | |||||||||
int | SYSTEM_SOUNDS_DTMF_DIALING | Bit mask for specifying DTMF tones system sounds. | |||||||||
int | SYSTEM_SOUNDS_HAPTIC_FEEDBACK | Bit mask for specifying haptic feedback system sounds. | |||||||||
int | SYSTEM_SOUNDS_LOCKSCREEN | Bit mask for specifying lock screen system sounds. | |||||||||
int | SYSTEM_SOUNDS_PEN_DETACH | Bit mask for specifying pen detachment system sounds. | |||||||||
int | SYSTEM_SOUNDS_SIP_KEY_FEEDBACK | Bit mask for specifying SIP tones system sounds. | |||||||||
int | SYSTEM_SOUNDS_SOUND_EFFECTS | Bit mask for specifying sound effect system sounds. | |||||||||
int | TYPE_GRID | Flag to indicate that the alignment is grid type in DeX mode. | |||||||||
int | TYPE_NOTIFICATION | Flag to indicate that the notification type for SIM 1. | |||||||||
int | TYPE_NOTIFICATION_SECOND | Flag to indicate that the notification type for SIM 2. | |||||||||
int | TYPE_RINGTONE | Flag to indicate that the ringtone type for SIM 1. | |||||||||
int | TYPE_RINGTONE_SECOND | Flag to indicate that the ringtone type for SIM 2. | |||||||||
int | USB_CONNECTION_TYPE_CHARGING | Charging only USB connection. | |||||||||
int | USB_CONNECTION_TYPE_DEFAULT | Default USB connection. | |||||||||
int | USB_CONNECTION_TYPE_MIDI | MIDI USB connection. | |||||||||
int | USB_CONNECTION_TYPE_MTP | MTP USB connection. | |||||||||
int | USB_CONNECTION_TYPE_PTP | PTP USB connection. | |||||||||
int | USB_CONNECTION_TYPE_TETHERING | USB Tethering connection. | |||||||||
int | USB_DETACHED | Flag to indicate that the device should shut down when the USB cable is detached. | |||||||||
int | USE_AUTO | Standard value for auto (whatever the use). | |||||||||
int | USE_DEFAULT | Use default value for parameters such as text style, font size, etc. | |||||||||
int | VIBRATION_CALL | Receive call vibration. | |||||||||
int | VIBRATION_MAX_INTENSITY | Maximum vibration intensity. | |||||||||
int | VIBRATION_NOTIFICATION | Notification vibration. | |||||||||
int | VIBRATION_SYSTEM | System haptic feedback vibration. | |||||||||
int | VOICE_CALL | The volume for voice calls. | |||||||||
int | VOLUME_CONTROL_STREAM_DEFAULT | Default volume control stream. | |||||||||
int | VOLUME_CONTROL_STREAM_MUSIC | Media volume control stream. | |||||||||
int | VOLUME_CONTROL_STREAM_NOTIFICATION | ||||||||||
int | VOLUME_CONTROL_STREAM_RING | Ringtone volume control stream. | |||||||||
int | VOLUME_CONTROL_STREAM_SYSTEM | System volume control stream. | |||||||||
int | WIDGET_APP_TYPE | Application type widget. | |||||||||
int | WIDGET_SURFACE_TYPE | Surface type widget. | |||||||||
int | WIFI_FREQUENCY_BAND_2GHZ | Wi-Fi Frequency band - 2GHz. | |||||||||
int | WIFI_FREQUENCY_BAND_5GHZ | Wi-Fi Frequency band - 5GHz. | |||||||||
int | WIFI_FREQUENCY_BAND_AUTO | Wi-Fi Frequency band - automatically selected. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
This method checks if the specified permission is granted to the current application.
| |||||||||||
This method gets access to the DeX Manager object.
| |||||||||||
This method gets access to the Custom Device Manager object.
| |||||||||||
This method gets access to the ProKiosk Manager object.
| |||||||||||
Deprecated
in API level 27
NOTE: This API is not available since Android 11. | |||||||||||
This method gets access to the Settings Manager object.
| |||||||||||
This method gets access to the System Manager object.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Bit mask for controlling all available accessibility settings.
API level 19 |
Version 2.6 |
Bit mask for answering calls by pressing the Home button.
API level 19 |
Version 2.6 |
Deprecated in API level 27
Bit mask for answering calls using voice commands.
API level 19 |
Version 2.6 |
Bit mask for ending calls by pressing the Power button.
API level 19 |
Version 2.6 |
Bit mask to indicate no control over accessibility settings.
API level 19 |
Version 2.6 |
Bit mask for controlling notification reminders.
API level 19 |
Version 2.6 |
Bit mask for controlling single tap mode.
API level 19 |
Version 2.6 |
The device will broadcast the intent When the state of hard key intent reporting is turned on.
API level 24 |
Version 3.0 |
Intent that will be broadcasted specifying the key that was pressed and the type of key press.
API level 29 |
KNOX 3.4 |
The control is add
API level 26 |
Version 3.2 |
The feature is allow.
API level 28 |
Version 3.3 |
Flag to indicate that the alignment is alphabetical in DeX mode.
API level 26 |
KNOX 3.2 |
Shutdown animation mode.
API level 19 |
Version 2.6 |
Startup animation mode.
API level 19 |
Version 2.6 |
Default auto pickup answer mode.
API level 20 |
Version 2.7 |
Speaker auto pickup answer mode.
API level 20 |
Version 2.7 |
Flag to indicate control of the Backup state.
API level 17 |
Version 1.0 |
Bold and italic text style.
API level 17 |
Version 2.4 |
Bold text style.
API level 17 |
Version 2.4 |
Bottom left lock screen shortcut.
API level 20 |
Version 2.7 |
Bottom right lock screen shortcut.
API level 20 |
Version 2.7 |
Bit mask to indicate in-call controls should be disabled.
API level 17 |
Version 2.4 |
Bit mask to indicate end-of-call redial controls should be disabled.
API level 17 |
Version 2.4 |
Bit mask to indicate end-of-call contacts control should be disabled.
API level 17 |
Version 2.4 |
Bit mask to indicate in-call add call control should be disabled.
API level 17 |
Version 2.4 |
Bit mask to indicate in-call Bluetooth control should be disabled.
API level 17 |
Version 2.4 |
Bit mask to indicate in-call volume control should be disabled.
API level 17 |
Version 2.4 |
Bit mask to indicate in-call menu should be disabled.
API level 17 |
Version 2.4 |
Bit mask to indicate in-call mute control should be disabled.
API level 17 |
Version 2.4 |
Bit mask to indicate in-call speaker control should be disabled.
API level 17 |
Version 2.4 |
Bit mask to indicate no in-call controls should be disabled.
API level 17 |
Version 2.4 |
The class name for the Exit UI.
API level 17 |
Version 1.0 |
The control is clear
API level 26 |
Version 3.2 |
Flag to indicate that the alignment is custom in DeX mode.
API level 26 |
KNOX 3.2 |
The control visibility is default.
API level 17 |
Version 1.0 |
The destination IP address.
API level 17 |
Version 1.0 |
The feature is disabled.
API level 17 |
Version 1.0 |
The feature is disallow.
API level 28 |
Version 3.3 |
The feature is enabled.
API level 17 |
Version 1.0 |
Indicates that the item already exists.
API level 20 |
Version 2.7 |
Indicates that the service is busy with another request.
API level 17 |
Version 1.0 |
Flag to indicate that the device is in DeX mode and prokiosk mode can not be started.
API level 26 |
KNOX 3.2 |
Indicates that the operation failed.
API level 17 |
Version 1.0 |
Indicates that the address format is invalid.
API level 17 |
Version 1.0 |
Indicates that the supplied callback is invalid.
API level 17 |
Version 2.4 |
Indicates that the supplied value is an invalid current.
API level 17 |
Version 2.4 |
Indicates that the supplied device is invalid.
API level 17 |
Version 1.0 |
Indicates that the supplied emergency number is invalid.
API level 17 |
Version 2.0 |
Indicates that the input method type is invalid.
API level 17 |
Version 1.0 |
Indicates that the supplied value has an invalid length.
API level 17 |
Version 2.4 |
Indicates that the locale or language is invalid.
API level 17 |
Version 1.0 |
Indicates that the media (eg. Image/Audio/Video) is invalid.
API level 20 |
Version 2.7 |
Indicates that the mode for the operation is invalid.
API level 17 |
Version 1.0 |
Indicates that the package name is invalid.
API level 17 |
Version 1.0 |
Indicates that the supplied passcode is incorrect.
API level 17 |
Version 1.0 |
Indicates that the supplied percentage value is incorrect.
API level 17 |
Version 1.0 |
Indicates that the permission type is incorrect.
API level 17 |
Version 1.0 |
Indicates that the ringtone type is invalid.
API level 17 |
Version 1.0 |
Indicates that the rotation value is invalid.
API level 17 |
Version 1.0 |
Indicates that the sound stream is invalid.
API level 17 |
Version 1.0 |
Indicates that the supplied string is invalid.
API level 17 |
Version 1.0 |
Indicates that the string type is invalid.
API level 17 |
Version 1.0 |
Indicates that the timeout is invalid or negative.
API level 17 |
Version 1.0 |
Indicates that the supplied UID is invalid.
API level 17 |
Version 1.0 |
Indicates that the supplied value is invalid.
API level 17 |
Version 2.4 |
Indicates that the item was not found.
API level 17 |
Version 2.4 |
Indicates that this method is not supported on this device.
API level 17 |
Version 1.0 |
Indicates that ProKiosk Mode is enabled by another admin.
API level 17 |
Version 1.0 |
Indicates that this method is restricted by EDM policy.
API level 17 |
Version 1.0 |
Indicates that ProKiosk Mode is already enabled.
API level 17 |
Version 1.0 |
Indicates that ProKiosk Mode is not enabled.
API level 17 |
Version 1.0 |
Indicates that the ringtone is not found on the device.
API level 17 |
Version 1.0 |
Indicates that the required SIM is not ready.
API level 20 |
Version 2.7 |
Indicates an unknown error.
API level 17 |
Version 1.0 |
DHCP based Ethernet configuration.
API level 17 |
Version 2.4 |
Static IP based Ethernet configuration.
API level 17 |
Version 2.4 |
An int containing the keycode from a hard key press.
API level 24 |
Version 3.0 |
Extra for ACTION_HARD_KEY_REPORT
that specifies type of key press.
API level 29 |
KNOX 3.4 |
Extra for setHardKeyIntentBroadcast(boolean, int, int, Intent, String, boolean)
that specifies type of key press.
API level 34 |
KNOX 3.7.1 |
An boolean for setHardKeyIntentBroadcast(boolean, int, int, Intent, String, boolean)
, containing whether it is release after long press.
API level 36 |
KNOX 3.9 |
Flag: set or retrieve the lock-screen-specific wallpaper on monitor when it is Dex mode.
API level 28 |
Version 3.3 |
Flag: Set or get the lockscreen wallpaper on the front display.
API level 29 |
Version 3.4 |
Flag: set or retrieve the general system wallpaper on monitor when it is Dex mode.
API level 28 |
Version 3.3 |
Flag: Set or get the wallpaper on the front display when the device is unlocked.
API level 29 |
Version 3.4 |
Folder Color 1 NOTE: Actual color will be dependent on the device or theme.
API level 20 |
Version 2.7 |
Folder Color 2 NOTE: Actual color will be dependent on the device or theme.
API level 20 |
Version 2.7 |
Folder Color 3 NOTE: Actual color will be dependent on the device or theme.
API level 20 |
Version 2.7 |
Folder Color 4 NOTE: Actual color will be dependent on the device or theme.
API level 20 |
Version 2.7 |
Folder Color 5 NOTE: Actual color will be dependent on the device or theme.
API level 20 |
Version 2.7 |
Gesture for air command.
API level 17 |
Version 2.5 |
Gesture for air view.
API level 17 |
Version 2.5 |
The feature is Dex HDMI Auto Enter DEFAULT.
API level 28 |
Version 3.3 |
The feature is Dex HDMI Auto Enter On.
API level 28 |
Version 3.3 |
The feature is Dex HDMI Auto Enter Reset.
API level 28 |
Version 3.3 |
The feature is Dex HDMI Auto Enter Restore.
API level 28 |
Version 3.3 |
The control is hidden.
API level 17 |
Version 1.0 |
Flag to indicate that the home screen mode should display only selected applications.
API level 24 |
Version 3.0 |
Flag to indicate that the home screen mode should display all applications.
API level 24 |
Version 3.0 |
Flag to indicate that the device should shut down immediately.
API level 22 |
Version 2.8 |
Italic text style.
API level 17 |
Version 2.4 |
Copy kernel logs.
API level 17 |
Version 2.4 |
Normal keyboard mode.
API level 17 |
Version 2.5 |
Prediction off keyboard mode.
API level 17 |
Version 2.5 |
No settings keyboard mode.
API level 17 |
Version 2.5 |
Flag to indicate that a key action double shall be reported.
API level 36 |
KNOX 3.9 |
Flag to indicate that a key action down shall be reported.
API level 29 |
KNOX 3.4 |
Flag to indicate that a key action down&up shall be reported.
API level 34 |
KNOX 3.7.1 |
Flag to indicate that a key action long shall be reported.
API level 34 |
KNOX 3.7.1 |
Flag to indicate that a key action up shall be reported.
API level 29 |
KNOX 3.4 |
Bit mask to indicate all lock screen elements should be disabled.
API level 17 |
Version 2.4 |
Bit mask to indicate the lock screen battery element should be disabled.
API level 17 |
Version 2.4 |
Bit mask to indicate the lock screen carrier information element should be disabled.
API level 17 |
Version 2.4 |
Bit mask to indicate the lock screen clock element should be disabled.
API level 17 |
Version 2.4 |
Bit mask to indicate the lock screen date element should be disabled.
API level 17 |
Version 2.4 |
Bit mask to indicate the lock screen help text element should be disabled.
API level 17 |
Version 2.4 |
Bit mask to indicate no lock screen elements should be disabled.
API level 17 |
Version 2.4 |
Bit mask to indicate the lock screen notifications should be disabled.
API level 17 |
Version 2.4 |
Deprecated in API level 27
Override the lock screen with no lock.
API level 17 |
Version 2.5 |
Deprecated in API level 27
No lock screen override.
API level 17 |
Version 2.5 |
Deprecated in API level 27
Override the lock screen with swipe.
API level 17 |
Version 2.5 |
Bit mask to indicate the lock screen owner information element should be disabled.
API level 17 |
Version 2.4 |
Bit mask to indicate the lock screen shorcut elements should be disabled.
API level 17 |
Version 2.4 |
Copy adb debug logs.
API level 17 |
Version 2.4 |
Maximum number of Home screens.
API level 20 |
Version 2.7 |
Maximum number of quick edit items for a phone.
API level 19 |
Version 2.6 |
Maximum number of quick edit items for a tablet.
API level 19 |
Version 2.6 |
The volume for audio and video playback.
API level 17 |
Version 1.0 |
Flag to indicate control of the Motion options.
API level 17 |
Version 1.0 |
Deprecated in API level 27
The windows are not moveable by the user.
API level 17 |
Version 1.0 |
Deprecated in API level 27
The size of the first multi window application.
API level 17 |
Version 1.0 |
Deprecated in API level 33
GSM only network.
API level 19 |
Version 2.6 |
Deprecated in API level 33
LTE, GSM/WCDMA network.
API level 19 |
Version 2.6 |
Deprecated in API level 33
LTE only network.
API level 19 |
Version 2.6 |
Deprecated in API level 33
WCDMA only network.
API level 19 |
Version 2.6 |
Deprecated in API level 33
GSM/WCDMA (WCDMA preferred) network.
API level 19 |
Version 2.6 |
Flag to indicate that the force auto shutdown feature is turned off.
API level 22 |
Version 2.8 |
The volume for message notifications.
API level 17 |
Version 1.0 |
Bit mask to show/hide all warning dialog.
API level 17 |
Version 1.0 |
Bit mask to show/hide the battery full dialog.
API level 17 |
Version 1.0 |
Bit mask to show/hide the battery low warning dialog.
API level 17 |
Version 1.0 |
Bit mask to show/hide the NITZ set time dialog.
API level 17 |
Version 1.0 |
Bit mask to indicate no notifications.
API level 17 |
Version 1.0 |
Bit mask to show/hide the status bar warnings.
API level 17 |
Version 1.0 |
The feature is off.
API level 19 |
Version 2.6 |
The feature is on.
API level 19 |
Version 2.6 |
The package name for the Exit UI.
API level 17 |
Version 1.0 |
Flag to indicate control of the Palm Motion options.
API level 17 |
Version 1.0 |
Flag to show all Power dialog options.
Flag to show the bug report Power dialog option.
API level 17 |
Version 1.0 |
Flag to show the emergency mode Power dialog option.
API level 17 |
Version 1.0 |
Flag to hide all Power dialog options.
API level 17 |
Version 1.0 |
Flag to show the power off Power dialog option.
API level 17 |
Version 1.0 |
Flag to show the restart Power dialog option.
API level 17 |
Version 1.0 |
Power saving will be switched off.
API level 17 |
Version 2.4 |
Power saving will be switched on.
API level 17 |
Version 2.4 |
Deprecated in API level 35
Ultra Power Saving will be enabled.
API level 17 |
Version 2.4 |
Deprecated in API level 35
Ultra Power Saving will be disabled.
API level 17 |
Version 2.4 |
The string for the power menu state if ProKiosk Mode is disabled.
API level 17 |
Version 2.5 |
The string for the power menu state if ProKiosk Mode is enabled.
API level 17 |
Version 2.5 |
The string for the ProKiosk Mode option on the power menu.
API level 17 |
Version 2.5 |
Mask for all ProKiosk Mode UI elements in the Settings app.
API level 17 |
Version 2.5 |
Bluetooth mask for ProKiosk Mode UI elements in the Settings app.
API level 17 |
Version 2.5 |
Location mask for ProKiosk Mode UI elements in the Settings app.
API level 17 |
Version 2.5 |
Empty mask for ProKiosk Mode UI elements in the Settings app.
API level 17 |
Version 2.5 |
Wi-Fi mask for ProKiosk Mode UI elements in the Settings app.
API level 17 |
Version 2.5 |
Airplane mode quick panel item.
API level 19 |
Version 2.6 |
Screen mirroring quick panel item.
API level 19 |
Version 2.6 |
Always on display quick panel item.
API level 20 |
Version 2.7 |
Auto rotate quick panel item.
API level 19 |
Version 2.6 |
Battery mode quick panel item.
API level 31 |
Version 3.5 |
Bluetooth quick panel item.
API level 19 |
Version 2.6 |
Blue light filter quick panel item.
API level 20 |
Version 2.7 |
All quick panel buttons.
API level 19 |
Version 2.6 |
Brightness quick panel button.
API level 19 |
Version 2.6 |
No quick panel button.
API level 19 |
Version 2.6 |
Quick Connect quick panel button.
API level 19 |
Version 2.6 |
S-Finder quick panel button.
API level 19 |
Version 2.6 |
Users panel buttons. This is only used for internal usage when the Users menu in Settings is hidden.
API level 19 |
Version 2.6 |
DailyBoard quick panel item.
API level 32 |
Version 3.6 |
Device visibility quick panel item.
API level 20 |
Version 2.7 |
Dex mode quick panel item.
API level 31 |
Version 3.5 |
Dolby quick panel item.
API level 31 |
Version 3.5 |
Do not disturb quick panel item.
API level 19 |
Version 2.6 |
Location quick panel item.
API level 19 |
Version 2.6 |
Mobile data quick panel item.
API level 19 |
Version 2.6 |
Multi window quick panel item.
API level 19 |
Version 2.6 |
NFC quick panel item.
API level 19 |
Version 2.6 |
No quick panel item.
API level 19 |
Version 2.6 |
Private mode quick panel item.
API level 19 |
Version 2.6 |
Deprecated in API level 27
Power saving quick panel item.
API level 19 |
Version 2.6 |
SecureFolder quick panel item.
API level 31 |
Version 3.5 |
Sound quick panel item.
API level 19 |
Version 2.6 |
Smart Stay quick panel item.
API level 19 |
Version 2.6 |
Background sync quick panel item.
API level 19 |
Version 2.6 |
S-Finder quick panel item.
API level 20 |
Version 2.7 |
Torch quick panel item.
API level 19 |
Version 2.6 |
Deprecated in API level 27
Ultra power saving quick panel item.
API level 19 |
Version 2.6 |
Wi-Fi quick panel item.
API level 19 |
Version 2.6 |
Mobile hotspot quick panel item.
API level 19 |
Version 2.6 |
Flag to indicate the Recent Button long Press starts the specified application whenever the button is long pressed.
API level 17 |
Version 2.4 |
Flag to indicate the Recent Button long Press starts the specified application when the home application is active.
API level 17 |
Version 2.4 |
Flag to indicate the Recent Button long Press operates in default manner.
API level 17 |
Version 2.4 |
The control is remove
API level 26 |
Version 3.2 |
Flag to indicate control of the Restore state.
API level 17 |
Version 1.0 |
The volume for incoming calls.
API level 17 |
Version 1.0 |
Deprecated in API level 27
Rotation 0 degrees.
API level 17 |
Version 1.0 |
Deprecated in API level 27
Rotation 180 degrees.
API level 17 |
Version 1.0 |
Deprecated in API level 27
Rotation 270 degrees.
API level 17 |
Version 1.0 |
Deprecated in API level 27
Rotation 90 degrees.
API level 17 |
Version 1.0 |
Deprecated in API level 27
The rotation value is left as it is.
API level 17 |
Version 1.0 |
String for selecting a home screen.
API level 20 |
Version 2.7 |
Bit mask to indicate the accelerometer sensor should be disabled.
API level 17 |
Version 2.4 |
Bit mask to indicate all sensors should be disabled.
API level 17 |
Version 2.4 |
Bit mask to indicate the gyroscope sensor should be disabled.
API level 17 |
Version 2.4 |
Bit mask to indicate the light sensor should be disabled.
API level 17 |
Version 2.4 |
Bit mask to indicate the magnetic sensor should be disabled.
API level 17 |
Version 2.4 |
Bit mask to indicate no sensors should be disabled.
API level 17 |
Version 2.4 |
Bit mask to indicate the pressure sensor should be disabled.
API level 19 |
Version 2.6 |
Bit mask to indicate the proximity sensor should be disabled.
API level 17 |
Version 2.4 |
Mask for all UI elements in the Settings app.
API level 17 |
Version 1.0 |
Mask for all UI elements in the Settings app.
API level 21 |
Version 2.7.1 |
Applications mask for UI elements in the Settings app.
API level 17 |
Version 2.5 |
Backup mask for UI elements in the Settings app.
API level 21 |
Version 2.7.1 |
Backup & reset mask for UI elements in the Settings app.
API level 17 |
Version 1.0 |
Bluetooth mask for UI elements in the Settings app.
API level 17 |
Version 1.0 |
Developer mask for UI elements in the Settings app.
API level 17 |
Version 1.0 |
Flight mode mask for UI elements in the Settings app.
API level 17 |
Version 1.0 |
Language mask for UI elements in the Settings app.
API level 17 |
Version 1.0 |
Location mask for UI elements in the Settings app.
API level 17 |
Version 2.5 |
Lock screen mask for UI elements in the Settings app.
API level 17 |
Version 1.0 |
Deprecated in API level 27
Multi-window mask for UI elements in the Settings app.
API level 17 |
Version 1.0 |
Reset mask for UI elements in the Settings app.
API level 21 |
Version 2.7.1 |
Users mask for UI elements in the Settings app.
API level 17 |
Version 1.0 |
Wi-Fi mask for UI elements in the Settings app.
API level 17 |
Version 1.0 |
Application home screen shortcut.
API level 20 |
Version 2.7 |
File or bookmark home screen shortcut.
API level 20 |
Version 2.7 |
Folder home screen shortcut .
API level 20 |
Version 2.7 |
The control is visible.
API level 17 |
Version 1.0 |
The source IP address.
API level 17 |
Version 1.0 |
Indicates that the operation was successful.
API level 17 |
Version 1.0 |
The volume for general system sounds.
API level 17 |
Version 1.0 |
Bit mask for specifying all system sounds.
API level 19 |
Version 2.6 |
Bit mask for specifying DTMF tones system sounds.
API level 19 |
Version 2.6 |
Bit mask for specifying haptic feedback system sounds.
API level 19 |
Version 2.6 |
Bit mask for specifying lock screen system sounds.
API level 19 |
Version 2.6 |
Bit mask for specifying pen detachment system sounds.
API level 19 |
Version 2.6 |
Bit mask for specifying SIP tones system sounds.
API level 19 |
Version 2.6 |
Bit mask for specifying sound effect system sounds.
API level 19 |
Version 2.6 |
Flag to indicate that the alignment is grid type in DeX mode.
API level 26 |
KNOX 3.2 |
Flag to indicate that the notification type for SIM 1.
API level 26 |
KNOX 3.2 |
Flag to indicate that the notification type for SIM 2.
API level 26 |
KNOX 3.2 |
Flag to indicate that the ringtone type for SIM 1.
API level 26 |
KNOX 3.2 |
Flag to indicate that the ringtone type for SIM 2.
API level 26 |
KNOX 3.2 |
Charging only USB connection.
API level 20 |
Version 2.7 |
Default USB connection.
API level 20 |
Version 2.7 |
MIDI USB connection.
API level 20 |
Version 2.7 |
MTP USB connection.
API level 20 |
Version 2.7 |
PTP USB connection.
API level 20 |
Version 2.7 |
USB Tethering connection.
API level 31 |
Version 3.5 |
Flag to indicate that the device should shut down when the USB cable is detached.
API level 22 |
Version 2.8 |
Standard value for auto (whatever the use).
API level 22 |
Version 2.8 |
Use default value for parameters such as text style, font size, etc.
API level 17 |
Version 2.4 |
Receive call vibration.
API level 19 |
Version 2.6 |
Maximum vibration intensity. To sync with VibrationSeekBarPreference.MAXIMUM_VIBRATION_INTENSITY
API level 19 |
Version 2.6 |
Notification vibration.
API level 19 |
Version 2.6 |
System haptic feedback vibration.
API level 19 |
Version 2.6 |
The volume for voice calls.
API level 17 |
Version 1.0 |
Default volume control stream.
API level 17 |
Version 2.4 |
Media volume control stream.
API level 17 |
Version 2.4 |
API level 17 |
Version 2.4 Notification volume control stream. |
Ringtone volume control stream.
API level 17 |
Version 2.4 |
System volume control stream.
API level 17 |
Version 2.4 |
Application type widget.
API level 20 |
Version 2.7 |
Surface type widget.
API level 20 |
Version 2.7 |
Wi-Fi Frequency band - 2GHz.
API level 17 |
Version 2.5 |
Wi-Fi Frequency band - 5GHz.
API level 17 |
Version 2.5 |
Wi-Fi Frequency band - automatically selected.
API level 17 |
Version 2.5 |
This method checks if the specified permission is granted to the current application.
permission | The permission string as specified in manifest file. |
---|
true
if permission has been granted to the application, false
if not.String permission = "com.samsung.android.knox.permission.CUSTOM_SETTING"; CustomDeviceManager cdm = CustomDeviceManager.getInstance(); if(cdm.checkEnterprisePermission(permission)) { Log.d(TAG, "Knox Custom Setting Permission is available"); } else { Log.d(TAG, "Knox Custom Setting Permission is not available"); } |
API level 17 |
Version 2.5 |
Global Scope |
This method gets access to the DeX Manager object.
CustomDeviceManager cdm = CustomDeviceManager.getInstance(); DexManager kcdm = cdm.getDexManager(); |
API level 25 |
KNOX 3.1 |
Global Scope |
getProKioskManager()
getSettingsManager()
getSystemManager()
This method gets access to the Custom Device Manager object.
CustomDeviceManager cdm = CustomDeviceManager.getInstance(); |
API level 17 |
Version 2.5 |
Global Scope |
This method gets access to the ProKiosk Manager object.
CustomDeviceManager cdm = CustomDeviceManager.getInstance(); ProKioskManager kcpkm = cdm.getProKioskManager(); |
API level 17 |
Version 2.5 |
Global Scope |
getSettingsManager()
getSystemManager()
getDexManager()
Deprecated
in API level 27
NOTE: This API is not available since Android 11.
This method gets the serial number of the device as displayed in the Settings application.
CustomDeviceManager cdm = CustomDeviceManager.getInstance(); String serialNumber = cdm.getSerialNumber(); |
API level 17 |
Version 2.5 |
Global Scope |
This method gets access to the Settings Manager object.
CustomDeviceManager cdm = CustomDeviceManager.getInstance(); SettingsManager kcsm = cdm.getSettingsManager(); |
API level 17 |
Version 2.5 |
Global Scope |
getProKioskManager()
getSystemManager()
getDexManager()
This method gets access to the System Manager object.
CustomDeviceManager cdm = CustomDeviceManager.getInstance(); SystemManager kcsm = cdm.getSystemManager(); |
API level 17 |
Version 2.5 |
Global Scope |
getProKioskManager()
getSettingsManager()
getDexManager()