EmbeddedBiometricPrompt.AuthenticationCallback.OnAuthenticationError 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
| Name | Description |
|---|---|
| OnAuthenticationError(BiometricErrorCode, ICharSequence) |
Called when an unrecoverable error has been encountered and the operation is complete. |
| OnAuthenticationError(BiometricErrorCode, String) |
OnAuthenticationError(BiometricErrorCode, ICharSequence)
Called when an unrecoverable error has been encountered and the operation is complete.
[Android.Runtime.Register("onAuthenticationError", "(ILjava/lang/CharSequence;)V", "GetOnAuthenticationError_ILjava_lang_CharSequence_Handler", ApiSince=37)]
public virtual void OnAuthenticationError(Android.Hardware.Biometrics.BiometricErrorCode errorCode, Java.Lang.ICharSequence errString);
[<Android.Runtime.Register("onAuthenticationError", "(ILjava/lang/CharSequence;)V", "GetOnAuthenticationError_ILjava_lang_CharSequence_Handler", ApiSince=37)>]
abstract member OnAuthenticationError : Android.Hardware.Biometrics.BiometricErrorCode * Java.Lang.ICharSequence -> unit
override this.OnAuthenticationError : Android.Hardware.Biometrics.BiometricErrorCode * Java.Lang.ICharSequence -> unit
Parameters
- errorCode
- BiometricErrorCode
- errString
- ICharSequence
A human-readable error string that can be shown in a UI. This value cannot be null.
- Attributes
Remarks
Called when an unrecoverable error has been encountered and the operation is complete. No further actions will be made on this object.
Note that when the user triggers a back gesture, onBackPressed() is called instead of this method.
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
OnAuthenticationError(BiometricErrorCode, String)
public void OnAuthenticationError(Android.Hardware.Biometrics.BiometricErrorCode errorCode, string errString);
member this.OnAuthenticationError : Android.Hardware.Biometrics.BiometricErrorCode * string -> unit
Parameters
- errorCode
- BiometricErrorCode
- errString
- String