LockdownDialog

fun LockdownDialog(lockdownState: LockdownState, onSubmit: (passphrase: String, boots: Int, hours: Int, sessionMinutes: Int) -> Unit, onDisconnect: () -> Unit)(source)

Non-dismissable lockdown authentication dialog.

Shown while the connected device requires passphrase input or retry. The dialog blocks app interaction while shown. After a passphrase command is admitted to the active transport, LockdownState.AwaitingResponse hides it until firmware reports the next status. A rejected dispatch leaves the retryable state and dialog in place; a locked, provisioning, or failed response shows it again, while successful authentication leaves it dismissed. Back gestures are suppressed whenever the dialog is visible.