Clean Device command
When a "deep clean" is selected, it removes all installed applications, all user data, and all installed files from the device. If the Clean Chrome parameter is selected, it resets the Chrome history on the device. On iOS devices, this command only removes user-installed applications.
Parameters
Name | Type | Possible values | Description |
---|---|---|---|
Device ID* |
Device |
The device for this command. |
|
Mode |
String |
Basic | Deep |
Specifies whether to perform basic or deep cleaning. Basic cleaning removes installed applications. Deep cleaning does the following:
|
Clean Chrome |
String |
Specifies whether to clean Google Chrome content. |
|
Comment |
String |
|
Adds a comment to the script |
On-fail Result* |
Condition |
Ignore | Break | Continue | Abort | Catch |
The behavior when the cleanup procedure fails. |
* Mandatory parameter
See also
Deploy device maintenance scripts (Perfecto IDE alternative)