EmbeddedBiometricPrompt.Builder.SetAuthenticationCallback 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.
Optional: Sets the authentication callback and executor.
[Android.Runtime.Register("setAuthenticationCallback", "(Ljava/util/concurrent/Executor;Landroid/hardware/biometrics/EmbeddedBiometricPrompt$AuthenticationCallback;)Landroid/hardware/biometrics/EmbeddedBiometricPrompt$Builder;", "", ApiSince=37)]
public Android.Hardware.Biometrics.EmbeddedBiometricPrompt.Builder SetAuthenticationCallback(Java.Util.Concurrent.IExecutor executor, Android.Hardware.Biometrics.EmbeddedBiometricPrompt.AuthenticationCallback callback);
[<Android.Runtime.Register("setAuthenticationCallback", "(Ljava/util/concurrent/Executor;Landroid/hardware/biometrics/EmbeddedBiometricPrompt$AuthenticationCallback;)Landroid/hardware/biometrics/EmbeddedBiometricPrompt$Builder;", "", ApiSince=37)>]
member this.SetAuthenticationCallback : Java.Util.Concurrent.IExecutor * Android.Hardware.Biometrics.EmbeddedBiometricPrompt.AuthenticationCallback -> Android.Hardware.Biometrics.EmbeddedBiometricPrompt.Builder
Parameters
- executor
- IExecutor
The executor to use for the authentication callback. This value cannot be null. Callback and listener events are dispatched through this Executor, providing an easy way to control which thread is used. To dispatch events through the main thread of your application, you can use Context.getMainExecutor(). Otherwise, provide an Executor that dispatches to an appropriate thread.
The authentication callback. This value cannot be null.
Returns
This builder. This value cannot be null.
- Attributes
Remarks
Optional: Sets the authentication callback and executor.
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.