Udostępnij za pośrednictwem


FingerprintManager.Authenticate Method

Definition

Request authentication of a crypto object.

[Android.Runtime.Register("authenticate", "(Landroid/hardware/fingerprint/FingerprintManager$CryptoObject;Landroid/os/CancellationSignal;ILandroid/hardware/fingerprint/FingerprintManager$AuthenticationCallback;Landroid/os/Handler;)V", "GetAuthenticate_Landroid_hardware_fingerprint_FingerprintManager_CryptoObject_Landroid_os_CancellationSignal_ILandroid_hardware_fingerprint_FingerprintManager_AuthenticationCallback_Landroid_os_Handler_Handler", ApiSince=23)]
public virtual void Authenticate (Android.Hardware.Fingerprints.FingerprintManager.CryptoObject? crypto, Android.OS.CancellationSignal? cancel, Android.Hardware.Fingerprints.FingerprintAuthenticationFlags flags, Android.Hardware.Fingerprints.FingerprintManager.AuthenticationCallback callback, Android.OS.Handler? handler);
[<Android.Runtime.Register("authenticate", "(Landroid/hardware/fingerprint/FingerprintManager$CryptoObject;Landroid/os/CancellationSignal;ILandroid/hardware/fingerprint/FingerprintManager$AuthenticationCallback;Landroid/os/Handler;)V", "GetAuthenticate_Landroid_hardware_fingerprint_FingerprintManager_CryptoObject_Landroid_os_CancellationSignal_ILandroid_hardware_fingerprint_FingerprintManager_AuthenticationCallback_Landroid_os_Handler_Handler", ApiSince=23)>]
abstract member Authenticate : Android.Hardware.Fingerprints.FingerprintManager.CryptoObject * Android.OS.CancellationSignal * Android.Hardware.Fingerprints.FingerprintAuthenticationFlags * Android.Hardware.Fingerprints.FingerprintManager.AuthenticationCallback * Android.OS.Handler -> unit
override this.Authenticate : Android.Hardware.Fingerprints.FingerprintManager.CryptoObject * Android.OS.CancellationSignal * Android.Hardware.Fingerprints.FingerprintAuthenticationFlags * Android.Hardware.Fingerprints.FingerprintManager.AuthenticationCallback * Android.OS.Handler -> unit

Parameters

crypto
FingerprintManager.CryptoObject

object associated with the call or null if none required.

cancel
CancellationSignal

an object that can be used to cancel authentication

flags
FingerprintAuthenticationFlags

optional flags; should be 0

callback
FingerprintManager.AuthenticationCallback

an object to receive authentication events

handler
Handler

an optional handler to handle callback events

Attributes

Remarks

Java documentation for android.hardware.fingerprint.FingerprintManager.authenticate(android.hardware.fingerprint.CryptoObject, android.os.CancellationSignal, int, android.hardware.fingerprint.AuthenticationCallback, android.os.Handler).

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