Skip to content

Biometric Screen

This screen can be used for both the biometric enablement and unlock screens.

Biometric Screen

Definition

@Composable
fun BiometricScreen(
    biometricScreenType: String,
    biometricScreenSettings: BiometricScreenSettings? = null
) { ... }

The biometricScreenSettings argument contains the customized screen title and description. biometricScreenType can be used identify the screen type, either biometric enablement or unlock. Usually in your app, you need to bring up the biometric authentication dialog upon showing this screen.

Example

BiometricScreen(biometricScreenType = BiometricScreenType.ENABLE.name)

Last update: February 20, 2023