HumanReadable

data class HumanReadable(val title: String, val subtitle: String, val requireConfirmation: Boolean) : Reason

Human-readable explanation for the operation.

Note: title and subtitle are presented to the user and thus must be localized.

Multipaz library itself never uses values of this type for back-end operations. However, when prompt-based key unlock is used, every other Reason value is ultimately converted to a Reason.HumanReadable by the configured reason-to-text converter (such as the toHumanReadable parameter on PromptDialogs).

Constructors

Link copied to clipboard
constructor(title: String, subtitle: String, requireConfirmation: Boolean)

Properties

Link copied to clipboard

if active user confirmation is required when used for passive biometrics.

Link copied to clipboard

the subtitle to show in the authentication prompt.

Link copied to clipboard

the title to show in the authentication prompt.