PresentmentActivityContent

fun PresentmentActivityContent(window: Window, getPresentmentModel: suspend () -> PresentmentModel, onFadedIn: () -> Unit, onFinish: (switchToAppOnFinishPendingIntent: PendingIntent?) -> Unit)

A full-screen composable for credential presentment.

The getPresentmentModel function will be called a single time the first time the composable is shown.

Parameters

window

the Window of the activity.

getPresentmentModel

a function to return the PresentmentModel to use.

onFadedIn

called when the composable has fully faded in.

onFinish

called when the presentment is finished and fully faded out. The passed-in PendingIntent is non-null if the user clicked the "Open Wallet" button.