Package-level declarations

Types

Link copied to clipboard
class NfcReaderCallback<T>(val initialMessage: String?, val tagInteractionFunc: suspend (tag: NfcIsoTag) -> T?, val dialogMessage: MutableStateFlow<String?>, val continuation: CancellableContinuation<T>, val context: CoroutineContext) : NfcAdapter.ReaderCallback
Link copied to clipboard

A generic activity for presentment on Android.

Functions

Link copied to clipboard
suspend fun defaultToHumanReadable(unlockReason: Reason, passphraseConstraints: PassphraseConstraints?): Reason.HumanReadable

Default implementation of ConvertToHumanReadableFn for use in PromptDialogs.

Link copied to clipboard

A composable dialog that prompts the user to enter a passphrase.

Link copied to clipboard
actual fun PromptDialogs(promptModel: PromptModel, imageLoader: ImageLoader?, maxHeight: Dp?, excludeTypes: List<PromptDialogModel.DialogType<*>>, toHumanReadable: ConvertToHumanReadableFn)
expect fun PromptDialogs(promptModel: PromptModel, imageLoader: ImageLoader? = null, maxHeight: Dp? = null, excludeTypes: List<PromptDialogModel.DialogType<*>> = emptyList(), toHumanReadable: ConvertToHumanReadableFn = ::defaultToHumanReadable)

Composable which can show prompts from PromptModel.

actual fun PromptDialogs(promptModel: ERROR CLASS: Symbol not found for PromptModel, imageLoader: ERROR CLASS: Symbol not found for ImageLoader??, maxHeight: ERROR CLASS: Symbol not found for Dp??, excludeTypes: List<ERROR CLASS: Symbol not found for PromptDialogModel.DialogType<*>>, toHumanReadable: ERROR CLASS: Symbol not found for ConvertToHumanReadableFn)
actual fun PromptDialogs(promptModel: PromptModel, imageLoader: ImageLoader?, maxHeight: Dp?, excludeTypes: List<PromptDialogModel.DialogType<*>>, toHumanReadable: ConvertToHumanReadableFn)