BiometricPrompt.Authenticate Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Authenticate(CancellationSignal, IExecutor, BiometricPrompt+AuthenticationCallback) |
This call warms up the biometric hardware, displays a system-provided dialog, and starts scanning for a biometric. |
Authenticate(BiometricPrompt+CryptoObject, CancellationSignal, IExecutor, BiometricPrompt+AuthenticationCallback) |
This call warms up the biometric hardware, displays a system-provided dialog, and starts scanning for a biometric. |
Authenticate(CancellationSignal, IExecutor, BiometricPrompt+AuthenticationCallback)
This call warms up the biometric hardware, displays a system-provided dialog, and starts scanning for a biometric.
[Android.Runtime.Register("authenticate", "(Landroid/os/CancellationSignal;Ljava/util/concurrent/Executor;Landroid/hardware/biometrics/BiometricPrompt$AuthenticationCallback;)V", "GetAuthenticate_Landroid_os_CancellationSignal_Ljava_util_concurrent_Executor_Landroid_hardware_biometrics_BiometricPrompt_AuthenticationCallback_Handler", ApiSince=28)]
[Android.Runtime.RequiresPermission("android.permission.USE_BIOMETRIC")]
public virtual void Authenticate (Android.OS.CancellationSignal cancel, Java.Util.Concurrent.IExecutor executor, Android.Hardware.Biometrics.BiometricPrompt.AuthenticationCallback callback);
[<Android.Runtime.Register("authenticate", "(Landroid/os/CancellationSignal;Ljava/util/concurrent/Executor;Landroid/hardware/biometrics/BiometricPrompt$AuthenticationCallback;)V", "GetAuthenticate_Landroid_os_CancellationSignal_Ljava_util_concurrent_Executor_Landroid_hardware_biometrics_BiometricPrompt_AuthenticationCallback_Handler", ApiSince=28)>]
[<Android.Runtime.RequiresPermission("android.permission.USE_BIOMETRIC")>]
abstract member Authenticate : Android.OS.CancellationSignal * Java.Util.Concurrent.IExecutor * Android.Hardware.Biometrics.BiometricPrompt.AuthenticationCallback -> unit
override this.Authenticate : Android.OS.CancellationSignal * Java.Util.Concurrent.IExecutor * Android.Hardware.Biometrics.BiometricPrompt.AuthenticationCallback -> unit
Parameters
- cancel
- CancellationSignal
An object that can be used to cancel authentication.
- executor
- IExecutor
An executor to handle callback events.
An object to receive authentication events.
- Attributes
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
Authenticate(BiometricPrompt+CryptoObject, CancellationSignal, IExecutor, BiometricPrompt+AuthenticationCallback)
This call warms up the biometric hardware, displays a system-provided dialog, and starts scanning for a biometric.
[Android.Runtime.Register("authenticate", "(Landroid/hardware/biometrics/BiometricPrompt$CryptoObject;Landroid/os/CancellationSignal;Ljava/util/concurrent/Executor;Landroid/hardware/biometrics/BiometricPrompt$AuthenticationCallback;)V", "GetAuthenticate_Landroid_hardware_biometrics_BiometricPrompt_CryptoObject_Landroid_os_CancellationSignal_Ljava_util_concurrent_Executor_Landroid_hardware_biometrics_BiometricPrompt_AuthenticationCallback_Handler", ApiSince=28)]
[Android.Runtime.RequiresPermission("android.permission.USE_BIOMETRIC")]
public virtual void Authenticate (Android.Hardware.Biometrics.BiometricPrompt.CryptoObject crypto, Android.OS.CancellationSignal cancel, Java.Util.Concurrent.IExecutor executor, Android.Hardware.Biometrics.BiometricPrompt.AuthenticationCallback callback);
[<Android.Runtime.Register("authenticate", "(Landroid/hardware/biometrics/BiometricPrompt$CryptoObject;Landroid/os/CancellationSignal;Ljava/util/concurrent/Executor;Landroid/hardware/biometrics/BiometricPrompt$AuthenticationCallback;)V", "GetAuthenticate_Landroid_hardware_biometrics_BiometricPrompt_CryptoObject_Landroid_os_CancellationSignal_Ljava_util_concurrent_Executor_Landroid_hardware_biometrics_BiometricPrompt_AuthenticationCallback_Handler", ApiSince=28)>]
[<Android.Runtime.RequiresPermission("android.permission.USE_BIOMETRIC")>]
abstract member Authenticate : Android.Hardware.Biometrics.BiometricPrompt.CryptoObject * Android.OS.CancellationSignal * Java.Util.Concurrent.IExecutor * Android.Hardware.Biometrics.BiometricPrompt.AuthenticationCallback -> unit
override this.Authenticate : Android.Hardware.Biometrics.BiometricPrompt.CryptoObject * Android.OS.CancellationSignal * Java.Util.Concurrent.IExecutor * Android.Hardware.Biometrics.BiometricPrompt.AuthenticationCallback -> unit
Parameters
- crypto
- BiometricPrompt.CryptoObject
A cryptographic operation to be unlocked after successful authentication.
- cancel
- CancellationSignal
An object that can be used to cancel authentication.
- executor
- IExecutor
An executor to handle callback events.
An object to receive authentication events.
- Attributes
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.