Package-level declarations
Types
Link copied to clipboard
class PassphrasePrompt(title: String, content: String, constraints: PassphraseConstraints, onPassphraseResult: (String?) -> Unit) : BottomSheetDialogFragment
PassphrasePrompt Dialog Fragment class that renders the Passphrase Prompt via Composition for the purposes of running PassphrasePrompt synchronously to return the prompt's result as a Boolean and not worry about callback hell.
Functions
Link copied to clipboard
fun PassphrasePinScreen(title: String, content: String, constraints: PassphraseConstraints, onSubmitPin: (String) -> Unit, onCancel: () -> Unit)
Composes a full screen with PassphraseFieldEntry and custom numerical key pad to use for PINs.
Link copied to clipboard
fun PassphrasePromptInputField(constraints: PassphraseConstraints, setPin: String? = null, onChanged: (passphrase: String, donePressed: Boolean) -> Unit)
Passphrase Prompt Input Field is used for submitting a passphrase or PIN in a Passphrase Prompt. This differs from PassphraseEntryField since it is not being used for creating a passphrase or PIN but rather only submitting one for verification.
Link copied to clipboard
suspend fun showPassphrasePrompt(activity: FragmentActivity, constraints: PassphraseConstraints, title: String, content: String): String?
Show the Passphrase prompt