showPassphrasePrompt
suspend fun showPassphrasePrompt(activity: FragmentActivity, constraints: PassphraseConstraints, title: String, content: String): String?
Show the Passphrase prompt
Async function that renders the Passphrase Prompt through the composition of a PassphraseEntryField from inside a Dialog Fragment. Returns the typed String passphrase after the user taps on the "Done" key on the keyboard.
Return
the typed passphrase or null if user canceled the prompt.
Parameters
activity
the FragmentActivity to show the Dialog Fragment via Activity's FragmentManager.
constraints
the constraints for the passphrase.
title
the top-most text of the Prompt.
content
contains more information about the Prompt.