Added in [version 37.2](https://developer.android.com/topic/libraries/support-library/revisions)

# EmbeddedBiometricPrompt.EmbeddedContentFactory

*** ** * ** ***


`
public
static


interface
EmbeddedBiometricPrompt.EmbeddedContentFactory
`


`


`

|---|
| android.hardware.biometrics.EmbeddedBiometricPrompt.EmbeddedContentFactory |

<br />

*** ** * ** ***

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 https://developer.android.com/reference/android/view/View` | ` https://developer.android.com/reference/android/hardware/biometrics/EmbeddedBiometricPrompt.EmbeddedContentFactory#createView(android.content.Context)(https://developer.android.com/reference/android/content/Context context) ` |

## Public methods

### createView

Added in [version 37.2](https://developer.android.com/topic/libraries/support-library/revisions)

```
public abstract View createView (Context context)
```

<br />

<br />

| Parameters ||
|---|---|
| `context` | `Context`: The `https://developer.android.com/reference/android/content/Context` to use for creating or inflating the view. This context has the correct density for the host display. This value cannot be `null`. <br /> |

| Returns ||
|---|---|
| `https://developer.android.com/reference/android/view/View` | The `https://developer.android.com/reference/android/view/View` to be shown in the biometric prompt. This value cannot be `null`. <br /> |