sendLockdownPassphrase

abstract fun sendLockdownPassphrase(passphrase: String, boots: Int = 0, hours: Int = 0, maxSessionSeconds: Int = 0, disable: Boolean = false): Boolean(source)

Sends a lockdown passphrase to authenticate with a locked device.

Return

true when the active transport accepted the command for asynchronous handoff, or false when the command could not be dispatched. Firmware acceptance is reported separately through LockdownStatus.

Parameters

disable

when true, instructs the device to decrypt storage back to plaintext and leave lockdown (the off switch). The device reboots and reconnects reporting DISABLED.