Android.Hardware.Biometrics Namespace

Contains .NET for Android bindings for the android.hardware.biometrics package.

Classes

Name Description
BiometricManager

A class that contains biometric utilities.

BiometricManager.Strings

Provides localized strings for an application that uses BiometricPrompt to authenticate the user.

BiometricPrompt

A class that manages a system-provided biometric dialog.

BiometricPrompt.AuthenticationCallback

Callback structure provided to BiometricPrompt#authenticate(CancellationSignal, Executor, AuthenticationCallback) or BiometricPrompt#authenticate(CryptoObject, CancellationSignal, Executor, AuthenticationCallback).

BiometricPrompt.AuthenticationResult

Container for callback data from #authenticate(CancellationSignal, Executor, AuthenticationCallback) and #authenticate(CryptoObject, CancellationSignal, Executor, AuthenticationCallback).

BiometricPrompt.Builder

A builder that collects arguments to be shown on the system-provided biometric dialog.

BiometricPrompt.CryptoObject

A wrapper class for the cryptographic operations supported by BiometricPrompt.

BiometricPromptStyleSpec

A class that describes the visual styles of the embedded BiometricPrompt UI to allow client applications to maintain visual consistency.

BiometricPromptStyleSpec.InterfaceConsts

Contains constants from interfaces implemented by BiometricPromptStyleSpec.

EmbeddedBiometricPrompt

The embedded version of BiometricPrompt that allows client apps to pass in content to display above the biometric prompt as a connected sheet.

EmbeddedBiometricPrompt.AuthenticationCallback

Callback structure provided to EmbeddedBiometricPrompt#startAuthenticationSession( CancellationSignal, int, Executor, AuthenticationCallback).

EmbeddedBiometricPrompt.Builder

A builder for the embedded version of BiometricPrompt that collects arguments to be shown on the system-provided biometric dialog.

FallbackOption

Contains the information for a fallback option to be displayed within Biometric Prompt.

FallbackOption.InterfaceConsts

Contains constants from interfaces implemented by FallbackOption.

PromptContentItemBulletedText

A list item with bulleted text shown on PromptVerticalListContentView.

PromptContentItemBulletedText.InterfaceConsts

Contains constants from interfaces implemented by PromptContentItemBulletedText.

PromptContentItemPlainText

A list item with plain text shown on PromptVerticalListContentView.

PromptContentItemPlainText.InterfaceConsts

Contains constants from interfaces implemented by PromptContentItemPlainText.

PromptContentViewWithMoreOptionsButton

Contains the information of the template of content view with a more options button for Biometric Prompt.

PromptContentViewWithMoreOptionsButton.Builder

A builder that collects arguments to be shown on the content view with more options button.

PromptContentViewWithMoreOptionsButton.InterfaceConsts

Contains constants from interfaces implemented by PromptContentViewWithMoreOptionsButton.

PromptVerticalListContentView

Contains the information of the template of vertical list content view for Biometric Prompt.

PromptVerticalListContentView.Builder

A builder that collects arguments to be shown on the vertical list view.

PromptVerticalListContentView.InterfaceConsts

Contains constants from interfaces implemented by PromptVerticalListContentView.

Interfaces

Name Description
EmbeddedBiometricPrompt.IEmbeddedContentFactory

A factory that produces the custom embedded content view for the biometric prompt.

IPromptContentItem

An item shown on PromptContentView.

IPromptContentView

Contains the information of the template of content view for Biometric Prompt.

Enums

Name Description
AuthenticationResultType

Specifies the authentication type in a biometric prompt result.

BiometricAcquiredStatus

Specifies acquisition status values reported by biometric prompt callbacks.

BiometricCode

Specifies the result of a biometric authentication availability check.

BiometricErrorCode

Specifies an error code reported by a biometric authentication callback.

BiometricManagerAuthenticationPurpose

Specifies the purpose of an authentication request.

BiometricManagerAuthenticators

Specifies authenticator types and biometric sensor strengths.

BiometricManagerIconType

Specifies an icon type for a fallback option.

EmbeddedBiometricPromptStartMode

Specifies a start mode for an embedded biometric authentication session.

Remarks

The namespace includes BiometricPrompt and EmbeddedBiometricPrompt for prompts, and BiometricManager for authentication availability checks.