Added in version 37.2
EmbeddedBiometricPrompt.EmbeddedContentFactory
public
static
interface
EmbeddedBiometricPrompt.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
Added in version 37.2
public abstract View createView (Context context)
| 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. |
| Returns | |
|---|---|
View |
The View to be shown in the biometric prompt.
This value cannot be null. |