Package-level declarations

Types

Link copied to clipboard
class SelfieRecorder(lifecycleOwner: LifecycleOwner, context: Context, onRecordingStarted: () -> Unit, onFinished: (ByteArray) -> Unit, onStateChange: (FaceImageClassifier.RecognitionState, EvidenceRequestSelfieVideo.Poses?) -> Unit)

Video recorder to record a selfie video for identity verification.

Link copied to clipboard
abstract class WebViewContentRenderer

An instance of this class defines a WebView-based renderer for a specific content type.

Functions

Link copied to clipboard
fun HtmlSnippetAsset(asset: String, modifier: Modifier = Modifier, verticalScrolling: Boolean = false, color: Color = MaterialTheme.colorScheme.onSurface, primaryColor: Color = MaterialTheme.colorScheme.primary, linkColor: Color = MaterialTheme.colorScheme.secondary, backgroundColor: Color = MaterialTheme.colorScheme.surface, assets: Map<String, ByteString>? = null)

Displays (x)html-formatted asset with the given name.

Link copied to clipboard
fun HtmlSnippetText(content: String, modifier: Modifier = Modifier, verticalScrolling: Boolean = false, color: Color = MaterialTheme.colorScheme.onSurface, primaryColor: Color = MaterialTheme.colorScheme.primary, linkColor: Color = MaterialTheme.colorScheme.secondary, backgroundColor: Color = MaterialTheme.colorScheme.surface, assets: Map<String, ByteString>? = mapOf())

Displays (x)html-formatted snippet.

Link copied to clipboard
Link copied to clipboard
fun KeyValuePairText(keyText: String, valueText: String)
Link copied to clipboard
fun MarkdownAsset(asset: String, modifier: Modifier = Modifier, verticalScrolling: Boolean = false, color: Color = MaterialTheme.colorScheme.onSurface, primaryColor: Color = MaterialTheme.colorScheme.primary, linkColor: Color = MaterialTheme.colorScheme.secondary, backgroundColor: Color = MaterialTheme.colorScheme.surface, assets: Map<String, ByteString>? = null)

Displays markdown-formatted asset with the given name.

Link copied to clipboard
fun MarkdownText(content: String, modifier: Modifier = Modifier, verticalScrolling: Boolean = false, color: Color = MaterialTheme.colorScheme.onSurface, primaryColor: Color = MaterialTheme.colorScheme.primary, linkColor: Color = MaterialTheme.colorScheme.secondary, backgroundColor: Color = MaterialTheme.colorScheme.surface, assets: Map<String, ByteString>? = mapOf())

Displays markdown-formatted content.

Link copied to clipboard
fun RichTextSnippet(content: String, modifier: Modifier = Modifier, verticalScrolling: Boolean = false, color: Color = MaterialTheme.colorScheme.onSurface, primaryColor: Color = MaterialTheme.colorScheme.primary, linkColor: Color = MaterialTheme.colorScheme.secondary, backgroundColor: Color = MaterialTheme.colorScheme.surface, assets: Map<String, ByteString>? = mapOf())

Displays rich text either as markdown (see MarkdownText) or html snippet (see HtmlSnippetText) automatically detecting the formatting.

Link copied to clipboard
fun ScreenWithAppBar(title: String, navigationIcon: @Composable () -> Unit, scrollable: Boolean = true, actions: @Composable RowScope.() -> Unit = {}, snackbarHost: @Composable () -> Unit = {}, floatingActionButton: @Composable () -> Unit = {}, body: @Composable ColumnScope.() -> Unit)

Presents a screen with an app bar on top and possibly a navigation icon in the top left corner.

Link copied to clipboard
fun ScreenWithAppBarAndBackButton(title: String, onBackButtonClick: () -> Unit, scrollable: Boolean = true, actions: @Composable RowScope.() -> Unit = {}, snackbarHost: @Composable () -> Unit = {}, body: @Composable ColumnScope.() -> Unit)

Presents a screen with an app bar on top and a back button in the top left corner.

Link copied to clipboard
fun SettingSectionSubtitle(modifier: Modifier = Modifier, title: String)
Link copied to clipboard
fun SettingString(modifier: Modifier = Modifier, title: String, subtitle: String, onClicked: () -> Unit)
Link copied to clipboard
fun SettingToggle(modifier: Modifier = Modifier, title: String, subtitleOn: String? = null, subtitleOff: String? = null, isChecked: Boolean = false, onCheckedChange: (Boolean) -> Unit, enabled: Boolean = true)