Package-level declarations

Types

Link copied to clipboard
data class ConsentDocument(val name: String, val description: String, val cardArt: ByteArray)

Details with the document that is being presented in the consent dialog.

Link copied to clipboard
class ConsentPrompt(request: Request, trustPoint: TrustPoint?, document: ConsentDocument, onConsentPromptResult: (Boolean) -> Unit) : BottomSheetDialogFragment

ConsentPrompt Dialog Fragment class that renders Consent prompt via Composition for the purposes of running Consent Prompt synchronously and return the prompt's result as a Boolean rather than deal with callback hell.

Functions

Link copied to clipboard
suspend fun showConsentPrompt(activity: FragmentActivity, document: ConsentDocument, request: Request, trustPoint: TrustPoint?): Boolean

Show the Consent prompt