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.

Implementation

core.String? type;