Skip to main content

SeeTest Client - ClearPasscode

info

Please note that this tool is classified as a Legacy tool. We recommend transitioning to our updated solutions to maintain optimal performance and security in your workflows. For more information on this matter, please reach out to technical support .

Description

Use this command to clear the passcode from the device.

info
  • This works only on iOS remote devices.
  • It is recommended to use this command on a supervised device.

Code Example

Java

if(client.clearPasscode()) {
    System.out.println("Passcode cleared successfully");
} else {
    System.out.println("Failed to clear passcode");
}


Return ValueDescription
TruePasscode was cleared.
FalsePasscode was not cleared.