EmbeddedContentFactory


interface EmbeddedContentFactory
android.hardware.biometrics.EmbeddedBiometricPrompt.EmbeddedContentFactory

A factory that produces the custom embedded content view for the biometric prompt. This allows the view to be inflated with the correct display metrics.

Summary

Public methods
abstract View
createView(context: Context)

Public methods

createView

abstract fun createView(context: Context): View
Parameters
context Context: The Context to use for creating or inflating the view. This context has the correct density for the host display.
This value cannot be null.
Return
View The View to be shown in the biometric prompt.
This value cannot be null.