type property

String? type
getter/setter pair

The type of the command. Possible string values are:

  • "COMMAND_TYPE_UNSPECIFIED" : This value is disallowed.
  • "LOCK" : Lock the device, as if the lock screen timeout had expired.
  • "RESET_PASSWORD" : Reset the user's password.
  • "REBOOT" : Reboot the device. Only supported on fully managed devices running Android 7.0 (API level 24) or higher.
  • "RELINQUISH_OWNERSHIP" : Removes the work profile and all policies from a company-owned Android 8.0+ device, relinquishing the device for personal use. Apps and data associated with the personal profile(s) are preserved. The device will be deleted from the server after it acknowledges the command.
  • "CLEAR_APP_DATA" : Clears the application data of specified apps. This is supported on Android 9 and above. Note that an application can store data outside of its application data, for example in external storage or in a user dictionary. See also clear_apps_data_params.
  • "START_LOST_MODE" : Puts the device into lost mode. Only supported on fully managed devices or organization-owned devices with a managed profile. See also start_lost_mode_params.
  • "STOP_LOST_MODE" : Takes the device out of lost mode. Only supported on fully managed devices or organization-owned devices with a managed profile. See also stop_lost_mode_params.
  • "ADD_ESIM" : Adds an eSIM profile to the device. This is supported on Android 15 and above. See also addEsimParams. To remove an eSIM profile, use the REMOVE_ESIM command. To determine what happens to the eSIM profile when a device is wiped, set wipeDataFlags in the policy. Note: To provision multiple eSIMs on a single device, it is recommended to introduce a delay of a few minutes between successive executions of the command.
  • "REMOVE_ESIM" : Removes an eSIM profile from the device. This is supported on Android 15 and above. See also removeEsimParams.
  • "REQUEST_DEVICE_INFO" : Request information related to the device.
  • "WIPE" : Wipes the device, via a factory reset for a company owned device, or by deleting the work profile for a personally owned device with work profile. The wipe only occurs once the device acknowledges the command. The command can be cancelled before then.

Implementation

core.String? type;