BiometricPrompt 类

定义

用于管理系统提供的生物识别对话框的类。

[Android.Runtime.Register("android/hardware/biometrics/BiometricPrompt", ApiSince=28, DoNotGenerateAcw=true)]
public class BiometricPrompt : Java.Lang.Object
[<Android.Runtime.Register("android/hardware/biometrics/BiometricPrompt", ApiSince=28, DoNotGenerateAcw=true)>]
type BiometricPrompt = class
    inherit Object
继承
BiometricPrompt
属性

注解

用于管理系统提供的生物识别对话框的类。

适用于 . 的 android.hardware.biometrics.BiometricPromptJava 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

构造函数

BiometricPrompt(IntPtr, JniHandleOwnership)

用于管理系统提供的生物识别对话框的类。

字段

AuthenticationResultTypeBiometric
已过时.

当用户通过呈现某种形式的生物识别(e)进行身份验证时报告的 AuthenticationResult 身份验证类型。

AuthenticationResultTypeDeviceCredential
已过时.

当用户通过输入其设备 PIN、模式或密码进行身份验证时报告的 AuthenticationResult 身份验证类型。

BiometricAcquiredGood
已过时.

用于管理系统提供的生物识别对话框的类。

BiometricAcquiredImagerDirty
已过时.

用于管理系统提供的生物识别对话框的类。

BiometricAcquiredInsufficient
已过时.

用于管理系统提供的生物识别对话框的类。

BiometricAcquiredPartial
已过时.

用于管理系统提供的生物识别对话框的类。

BiometricAcquiredTooFast
已过时.

用于管理系统提供的生物识别对话框的类。

BiometricAcquiredTooSlow
已过时.

用于管理系统提供的生物识别对话框的类。

BiometricErrorCanceled
已过时.

用于管理系统提供的生物识别对话框的类。

BiometricErrorHwNotPresent
已过时.

用于管理系统提供的生物识别对话框的类。

BiometricErrorHwUnavailable
已过时.

用于管理系统提供的生物识别对话框的类。

BiometricErrorLockout
已过时.

用于管理系统提供的生物识别对话框的类。

BiometricErrorLockoutPermanent
已过时.

用于管理系统提供的生物识别对话框的类。

BiometricErrorNoBiometrics
已过时.

用于管理系统提供的生物识别对话框的类。

BiometricErrorNoDeviceCredential
已过时.

用于管理系统提供的生物识别对话框的类。

BiometricErrorNoSpace
已过时.

用于管理系统提供的生物识别对话框的类。

BiometricErrorSecurityUpdateRequired
已过时.

用于管理系统提供的生物识别对话框的类。

BiometricErrorTimeout
已过时.

用于管理系统提供的生物识别对话框的类。

BiometricErrorUnableToProcess
已过时.

用于管理系统提供的生物识别对话框的类。

BiometricErrorUserCanceled
已过时.

用于管理系统提供的生物识别对话框的类。

BiometricErrorVendor
已过时.

用于管理系统提供的生物识别对话框的类。

属性

AllowedAuthenticators

获取提示可以调用的验证器的类型(s),以按设置 Builder#setAllowedAuthenticators(int)对用户进行身份验证。

Class

返回此 Object的运行时类。

(继承自 Object)
Description

用于管理系统提供的生物识别对话框的类。

DescriptionFormatted

获取提示的说明,由 Builder#setDescription(CharSequence).

Handle

基础 Android 实例的句柄。

(继承自 Object)
IsConfirmationRequired

确定提示是否要求显式用户确认,由该提示设置 Builder#setConfirmationRequired(boolean)

JniIdentityHashCode

用于管理系统提供的生物识别对话框的类。

(继承自 Object)
JniPeerMembers

用于管理系统提供的生物识别对话框的类。

NegativeButtonText

用于管理系统提供的生物识别对话框的类。

NegativeButtonTextFormatted

按设置获取提示 Builder#setNegativeButton(CharSequence, Executor, DialogInterface.OnClickListener)的负按钮文本。

PeerReference

用于管理系统提供的生物识别对话框的类。

(继承自 Object)
Subtitle

用于管理系统提供的生物识别对话框的类。

SubtitleFormatted

按设置 Builder#setSubtitle(CharSequence)获取提示的副标题。

ThresholdClass

用于管理系统提供的生物识别对话框的类。

ThresholdType

用于管理系统提供的生物识别对话框的类。

Title

用于管理系统提供的生物识别对话框的类。

TitleFormatted

获取提示的标题,由 Builder#setTitle(CharSequence).

方法

Authenticate(BiometricPrompt+CryptoObject, CancellationSignal, IExecutor, BiometricPrompt+AuthenticationCallback)

此调用预热生物识别硬件,显示系统提供的对话框,并开始扫描生物识别。

Authenticate(CancellationSignal, IExecutor, BiometricPrompt+AuthenticationCallback)

此调用预热生物识别硬件,显示系统提供的对话框,并开始扫描生物识别。

Clone()

创建并返回此对象的副本。

(继承自 Object)
Dispose()

用于管理系统提供的生物识别对话框的类。

(继承自 Object)
Dispose(Boolean)

用于管理系统提供的生物识别对话框的类。

(继承自 Object)
Equals(Object)

指示其他对象是否“等于”此对象。

(继承自 Object)
GetHashCode()

返回对象的哈希代码值。

(继承自 Object)
JavaFinalize()

当垃圾回收确定不再引用该对象时,由对象上的垃圾回收器调用。

(继承自 Object)
Notify()

唤醒正在等待此对象的监视器的单个线程。

(继承自 Object)
NotifyAll()

唤醒正在等待此对象的监视器的所有线程。

(继承自 Object)
SetHandle(IntPtr, JniHandleOwnership)

设置 Handle 属性。

(继承自 Object)
ToArray<T>()

用于管理系统提供的生物识别对话框的类。

(继承自 Object)
ToString()

返回对象的字符串表示形式。

(继承自 Object)
UnregisterFromRuntime()

用于管理系统提供的生物识别对话框的类。

(继承自 Object)
Wait()

使当前线程等待,直到唤醒它,通常是通过 em 通知/em> 或 <em>interrupted</em>。<><

(继承自 Object)
Wait(Int64)

使当前线程等待直到唤醒,通常是通过 <em>通知</em> 或 <em interrupted</em>>,或直到经过一定数量的实时。

(继承自 Object)
Wait(Int64, Int32)

使当前线程等待直到唤醒,通常是通过 <em>通知</em> 或 <em interrupted</em>>,或直到经过一定数量的实时。

(继承自 Object)

显式接口实现

IJavaPeerable.Disposed()

用于管理系统提供的生物识别对话框的类。

(继承自 Object)
IJavaPeerable.DisposeUnlessReferenced()

用于管理系统提供的生物识别对话框的类。

(继承自 Object)
IJavaPeerable.Finalized()

用于管理系统提供的生物识别对话框的类。

(继承自 Object)
IJavaPeerable.JniManagedPeerState

用于管理系统提供的生物识别对话框的类。

(继承自 Object)
IJavaPeerable.SetJniIdentityHashCode(Int32)

用于管理系统提供的生物识别对话框的类。

(继承自 Object)
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates)

用于管理系统提供的生物识别对话框的类。

(继承自 Object)
IJavaPeerable.SetPeerReference(JniObjectReference)

用于管理系统提供的生物识别对话框的类。

(继承自 Object)

扩展方法

JavaCast<TResult>(IJavaObject)

执行 Android 运行时检查的类型转换。

JavaCast<TResult>(IJavaObject)

用于管理系统提供的生物识别对话框的类。

GetJniTypeName(IJavaPeerable)

用于管理系统提供的生物识别对话框的类。

适用于