Package-level declarations

Types

Link copied to clipboard
class IcaoMrtdCommunicationModel<ResultT>(reader: MrtdNfcReader<ResultT>, val status: MutableState<MrtdNfc.Status>, navController: NavController, onResult: (ResultT) -> Unit, activity: ComponentActivity, coroutineScope: CoroutineScope)
Link copied to clipboard

Nfc Animation Status - used to update the NFC "contactless" icon colors and animation according to the value of MrtdNfc.Status

Functions

Link copied to clipboard
Link copied to clipboard
fun DocumentSuccessfullyScannedScreen(pauseDurationMs: Long, onFinishedShowingScreen: () -> Unit)

Briefly show the "Document Scanning Successful" screen before moving to the next screen/step of evidence request (automatically after waiting for pauseDurationMs).

Link copied to clipboard

Show the "Document Scanning Complete" screen after completing all steps of for evidence gathering. Since it occupies the entire visible screen real estate, this function can be appropriately classified as a "Screen" (rather than a generic "View").

Link copied to clipboard
fun EvidenceRequestIcaoNfcTunnelView(evidenceRequest: EvidenceRequestIcaoNfcTunnel, provisioningViewModel: ProvisioningViewModel, permissionTracker: PermissionTracker, developerMode: Boolean = false)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun EvidenceRequestOpenid4Vp(evidenceRequest: EvidenceRequestOpenid4Vp, provisioningViewModel: ProvisioningViewModel, application: WalletApplication)
Link copied to clipboard
fun EvidenceRequestSelfieVideoView(evidenceRequest: EvidenceRequestSelfieVideo, provisioningViewModel: ProvisioningViewModel, permissionTracker: PermissionTracker)
Link copied to clipboard
fun EvidenceRequestSetupCloudSecureAreaView(context: Context, secureAreaRepository: SecureAreaRepository, evidenceRequest: EvidenceRequestSetupCloudSecureArea, onAccept: () -> Unit, onError: (error: Throwable) -> Unit)
Link copied to clipboard
fun EvidenceRequestWebView(evidenceRequest: EvidenceRequestWeb, provisioningViewModel: ProvisioningViewModel, walletServerProvider: WalletServerProvider)
Link copied to clipboard

Compose the NFC "Heartbeat" animation according to the passed-in nfcAnimationStatus while following the device's Light/Dark theme colors, where the color scheme for Dark theme is the inverse of Light.

Link copied to clipboard
suspend fun openid4VpPresentation(credential: Credential, walletApp: WalletApplication, fragmentActivity: FragmentActivity, originUri: String, request: String): String
Link copied to clipboard
fun ProvisionDocumentScreen(application: WalletApplication, secureAreaRepository: SecureAreaRepository, provisioningViewModel: ProvisioningViewModel, promptModel: PromptModel, onNavigate: (String) -> Unit, permissionTracker: PermissionTracker, walletServerProvider: WalletServerProvider, developerMode: Boolean = false)