PassphraseRequest
class PassphraseRequest(val title: String, val subtitle: String, val passphraseConstraints: PassphraseConstraints, val passphraseEvaluator: suspend (enteredPassphrase: String) -> String??)
Data for the UI to display and run passphrase dialog.
Parameters
title
the title for the passphrase prompt.
subtitle
the subtitle for the passphrase prompt.
passphraseConstraints
the PassphraseConstraints for the passphrase.
passphraseEvaluator
an optional function to evaluate the passphrase and give the user feedback.
Constructors
Link copied to clipboard
constructor(title: String, subtitle: String, passphraseConstraints: PassphraseConstraints, passphraseEvaluator: suspend (enteredPassphrase: String) -> String??)