Skip to main content

SeeTest Client - isPasscodeEnabled

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

This command returns true if a passcode is enabled on a device. It works only for iOS devices.

If it fails, it throws an exception.

Code Example

Java

if(client.isPasscodeEnabled()){
// If statement
}