// WARNING: This file was autogenerated by jni-bindgen. Any changes to this file may be lost!!!
#[cfg(any(feature = "all", feature = "android-hardware-biometrics-BiometricPrompt"))]
__jni_bindgen! {
/// public class [BiometricPrompt](https://developer.android.com/reference/android/hardware/biometrics/BiometricPrompt.html)
///
/// Required feature: "android-hardware-biometrics-BiometricPrompt"
public class BiometricPrompt ("android/hardware/biometrics/BiometricPrompt") extends crate::java::lang::Object {
/// [authenticate](https://developer.android.com/reference/android/hardware/biometrics/BiometricPrompt.html#authenticate(android.hardware.biometrics.BiometricPrompt.CryptoObject,%20android.os.CancellationSignal,%20java.util.concurrent.Executor,%20android.hardware.biometrics.BiometricPrompt.AuthenticationCallback))
///
/// Required features: "android-hardware-biometrics-BiometricPrompt_AuthenticationCallback", "android-hardware-biometrics-BiometricPrompt_CryptoObject", "android-os-CancellationSignal", "java-util-concurrent-Executor"
#[cfg(any(feature = "all", all(feature = "android-hardware-biometrics-BiometricPrompt_AuthenticationCallback", feature = "android-hardware-biometrics-BiometricPrompt_CryptoObject", feature = "android-os-CancellationSignal", feature = "java-util-concurrent-Executor")))]
pub fn authenticate_CryptoObject_CancellationSignal_Executor_AuthenticationCallback<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::hardware::biometrics::BiometricPrompt_CryptoObject>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::os::CancellationSignal>>, arg2: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::concurrent::Executor>>, arg3: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::hardware::biometrics::BiometricPrompt_AuthenticationCallback>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/hardware/biometrics/BiometricPrompt", java.flags == PUBLIC, .name == "authenticate", .descriptor == "(Landroid/hardware/biometrics/BiometricPrompt$CryptoObject;Landroid/os/CancellationSignal;Ljava/util/concurrent/Executor;Landroid/hardware/biometrics/BiometricPrompt$AuthenticationCallback;)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into()), __jni_bindgen::AsJValue::as_jvalue(&arg2.into()), __jni_bindgen::AsJValue::as_jvalue(&arg3.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/hardware/biometrics/BiometricPrompt\0", "authenticate\0", "(Landroid/hardware/biometrics/BiometricPrompt$CryptoObject;Landroid/os/CancellationSignal;Ljava/util/concurrent/Executor;Landroid/hardware/biometrics/BiometricPrompt$AuthenticationCallback;)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [authenticate](https://developer.android.com/reference/android/hardware/biometrics/BiometricPrompt.html#authenticate(android.os.CancellationSignal,%20java.util.concurrent.Executor,%20android.hardware.biometrics.BiometricPrompt.AuthenticationCallback))
///
/// Required features: "android-hardware-biometrics-BiometricPrompt_AuthenticationCallback", "android-os-CancellationSignal", "java-util-concurrent-Executor"
#[cfg(any(feature = "all", all(feature = "android-hardware-biometrics-BiometricPrompt_AuthenticationCallback", feature = "android-os-CancellationSignal", feature = "java-util-concurrent-Executor")))]
pub fn authenticate_CancellationSignal_Executor_AuthenticationCallback<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::os::CancellationSignal>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::concurrent::Executor>>, arg2: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::hardware::biometrics::BiometricPrompt_AuthenticationCallback>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/hardware/biometrics/BiometricPrompt", java.flags == PUBLIC, .name == "authenticate", .descriptor == "(Landroid/os/CancellationSignal;Ljava/util/concurrent/Executor;Landroid/hardware/biometrics/BiometricPrompt$AuthenticationCallback;)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into()), __jni_bindgen::AsJValue::as_jvalue(&arg2.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/hardware/biometrics/BiometricPrompt\0", "authenticate\0", "(Landroid/os/CancellationSignal;Ljava/util/concurrent/Executor;Landroid/hardware/biometrics/BiometricPrompt$AuthenticationCallback;)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// public static final [BIOMETRIC_ACQUIRED_GOOD](https://developer.android.com/reference/android/hardware/biometrics/BiometricPrompt.html#BIOMETRIC_ACQUIRED_GOOD)
pub const BIOMETRIC_ACQUIRED_GOOD : i32 = 0;
/// public static final [BIOMETRIC_ACQUIRED_IMAGER_DIRTY](https://developer.android.com/reference/android/hardware/biometrics/BiometricPrompt.html#BIOMETRIC_ACQUIRED_IMAGER_DIRTY)
pub const BIOMETRIC_ACQUIRED_IMAGER_DIRTY : i32 = 3;
/// public static final [BIOMETRIC_ACQUIRED_INSUFFICIENT](https://developer.android.com/reference/android/hardware/biometrics/BiometricPrompt.html#BIOMETRIC_ACQUIRED_INSUFFICIENT)
pub const BIOMETRIC_ACQUIRED_INSUFFICIENT : i32 = 2;
/// public static final [BIOMETRIC_ACQUIRED_PARTIAL](https://developer.android.com/reference/android/hardware/biometrics/BiometricPrompt.html#BIOMETRIC_ACQUIRED_PARTIAL)
pub const BIOMETRIC_ACQUIRED_PARTIAL : i32 = 1;
/// public static final [BIOMETRIC_ACQUIRED_TOO_FAST](https://developer.android.com/reference/android/hardware/biometrics/BiometricPrompt.html#BIOMETRIC_ACQUIRED_TOO_FAST)
pub const BIOMETRIC_ACQUIRED_TOO_FAST : i32 = 5;
/// public static final [BIOMETRIC_ACQUIRED_TOO_SLOW](https://developer.android.com/reference/android/hardware/biometrics/BiometricPrompt.html#BIOMETRIC_ACQUIRED_TOO_SLOW)
pub const BIOMETRIC_ACQUIRED_TOO_SLOW : i32 = 4;
/// public static final [BIOMETRIC_ERROR_CANCELED](https://developer.android.com/reference/android/hardware/biometrics/BiometricPrompt.html#BIOMETRIC_ERROR_CANCELED)
pub const BIOMETRIC_ERROR_CANCELED : i32 = 5;
/// public static final [BIOMETRIC_ERROR_HW_NOT_PRESENT](https://developer.android.com/reference/android/hardware/biometrics/BiometricPrompt.html#BIOMETRIC_ERROR_HW_NOT_PRESENT)
pub const BIOMETRIC_ERROR_HW_NOT_PRESENT : i32 = 12;
/// public static final [BIOMETRIC_ERROR_HW_UNAVAILABLE](https://developer.android.com/reference/android/hardware/biometrics/BiometricPrompt.html#BIOMETRIC_ERROR_HW_UNAVAILABLE)
pub const BIOMETRIC_ERROR_HW_UNAVAILABLE : i32 = 1;
/// public static final [BIOMETRIC_ERROR_LOCKOUT](https://developer.android.com/reference/android/hardware/biometrics/BiometricPrompt.html#BIOMETRIC_ERROR_LOCKOUT)
pub const BIOMETRIC_ERROR_LOCKOUT : i32 = 7;
/// public static final [BIOMETRIC_ERROR_LOCKOUT_PERMANENT](https://developer.android.com/reference/android/hardware/biometrics/BiometricPrompt.html#BIOMETRIC_ERROR_LOCKOUT_PERMANENT)
pub const BIOMETRIC_ERROR_LOCKOUT_PERMANENT : i32 = 9;
/// public static final [BIOMETRIC_ERROR_NO_BIOMETRICS](https://developer.android.com/reference/android/hardware/biometrics/BiometricPrompt.html#BIOMETRIC_ERROR_NO_BIOMETRICS)
pub const BIOMETRIC_ERROR_NO_BIOMETRICS : i32 = 11;
/// public static final [BIOMETRIC_ERROR_NO_SPACE](https://developer.android.com/reference/android/hardware/biometrics/BiometricPrompt.html#BIOMETRIC_ERROR_NO_SPACE)
pub const BIOMETRIC_ERROR_NO_SPACE : i32 = 4;
/// public static final [BIOMETRIC_ERROR_TIMEOUT](https://developer.android.com/reference/android/hardware/biometrics/BiometricPrompt.html#BIOMETRIC_ERROR_TIMEOUT)
pub const BIOMETRIC_ERROR_TIMEOUT : i32 = 3;
/// public static final [BIOMETRIC_ERROR_UNABLE_TO_PROCESS](https://developer.android.com/reference/android/hardware/biometrics/BiometricPrompt.html#BIOMETRIC_ERROR_UNABLE_TO_PROCESS)
pub const BIOMETRIC_ERROR_UNABLE_TO_PROCESS : i32 = 2;
/// public static final [BIOMETRIC_ERROR_USER_CANCELED](https://developer.android.com/reference/android/hardware/biometrics/BiometricPrompt.html#BIOMETRIC_ERROR_USER_CANCELED)
pub const BIOMETRIC_ERROR_USER_CANCELED : i32 = 10;
/// public static final [BIOMETRIC_ERROR_VENDOR](https://developer.android.com/reference/android/hardware/biometrics/BiometricPrompt.html#BIOMETRIC_ERROR_VENDOR)
pub const BIOMETRIC_ERROR_VENDOR : i32 = 8;
}
}