[]Struct jni_android_sys::android::hardware::biometrics::BiometricPrompt

#[repr(transparent)]
pub struct BiometricPrompt(_);

public class BiometricPrompt

Required feature: "android-hardware-biometrics-BiometricPrompt"

Methods

impl BiometricPrompt

pub fn authenticate_CryptoObject_CancellationSignal_Executor_AuthenticationCallback<'env>(
    &'env self,
    arg0: impl Into<Option<&'env BiometricPrompt_CryptoObject>>,
    arg1: impl Into<Option<&'env CancellationSignal>>,
    arg2: impl Into<Option<&'env Executor>>,
    arg3: impl Into<Option<&'env BiometricPrompt_AuthenticationCallback>>
) -> Result<(), Local<'env, Throwable>>
[src]

authenticate

Required features: "android-hardware-biometrics-BiometricPrompt_AuthenticationCallback", "android-hardware-biometrics-BiometricPrompt_CryptoObject", "android-os-CancellationSignal", "java-util-concurrent-Executor"

pub fn authenticate_CancellationSignal_Executor_AuthenticationCallback<'env>(
    &'env self,
    arg0: impl Into<Option<&'env CancellationSignal>>,
    arg1: impl Into<Option<&'env Executor>>,
    arg2: impl Into<Option<&'env BiometricPrompt_AuthenticationCallback>>
) -> Result<(), Local<'env, Throwable>>
[src]

authenticate

Required features: "android-hardware-biometrics-BiometricPrompt_AuthenticationCallback", "android-os-CancellationSignal", "java-util-concurrent-Executor"

pub const BIOMETRIC_ACQUIRED_GOOD: i32[src]

public static final BIOMETRIC_ACQUIRED_GOOD

pub const BIOMETRIC_ACQUIRED_IMAGER_DIRTY: i32[src]

public static final BIOMETRIC_ACQUIRED_IMAGER_DIRTY

pub const BIOMETRIC_ACQUIRED_INSUFFICIENT: i32[src]

public static final BIOMETRIC_ACQUIRED_INSUFFICIENT

pub const BIOMETRIC_ACQUIRED_PARTIAL: i32[src]

public static final BIOMETRIC_ACQUIRED_PARTIAL

pub const BIOMETRIC_ACQUIRED_TOO_FAST: i32[src]

public static final BIOMETRIC_ACQUIRED_TOO_FAST

pub const BIOMETRIC_ACQUIRED_TOO_SLOW: i32[src]

public static final BIOMETRIC_ACQUIRED_TOO_SLOW

pub const BIOMETRIC_ERROR_CANCELED: i32[src]

public static final BIOMETRIC_ERROR_CANCELED

pub const BIOMETRIC_ERROR_HW_NOT_PRESENT: i32[src]

public static final BIOMETRIC_ERROR_HW_NOT_PRESENT

pub const BIOMETRIC_ERROR_HW_UNAVAILABLE: i32[src]

public static final BIOMETRIC_ERROR_HW_UNAVAILABLE

pub const BIOMETRIC_ERROR_LOCKOUT: i32[src]

public static final BIOMETRIC_ERROR_LOCKOUT

pub const BIOMETRIC_ERROR_LOCKOUT_PERMANENT: i32[src]

pub const BIOMETRIC_ERROR_NO_BIOMETRICS: i32[src]

public static final BIOMETRIC_ERROR_NO_BIOMETRICS

pub const BIOMETRIC_ERROR_NO_SPACE: i32[src]

public static final BIOMETRIC_ERROR_NO_SPACE

pub const BIOMETRIC_ERROR_TIMEOUT: i32[src]

public static final BIOMETRIC_ERROR_TIMEOUT

pub const BIOMETRIC_ERROR_UNABLE_TO_PROCESS: i32[src]

pub const BIOMETRIC_ERROR_USER_CANCELED: i32[src]

public static final BIOMETRIC_ERROR_USER_CANCELED

pub const BIOMETRIC_ERROR_VENDOR: i32[src]

public static final BIOMETRIC_ERROR_VENDOR

Methods from Deref<Target = Object>

pub fn getClass<'env>(
    &'env self
) -> Result<Option<Local<'env, Class>>, Local<'env, Throwable>>
[src]

getClass

Required features: "java-lang-Class"

pub fn hashCode<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>[src]

pub fn equals<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
[src]

equals

Required features: "java-lang-Object"

pub fn toString<'env>(
    &'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

toString

Required features: "java-lang-String"

pub fn notify<'env>(&'env self) -> Result<(), Local<'env, Throwable>>[src]

pub fn notifyAll<'env>(&'env self) -> Result<(), Local<'env, Throwable>>[src]

pub fn wait_long<'env>(
    &'env self,
    arg0: i64
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn wait_long_int<'env>(
    &'env self,
    arg0: i64,
    arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn wait<'env>(&'env self) -> Result<(), Local<'env, Throwable>>[src]

Trait Implementations

impl AsJValue for BiometricPrompt

impl AsValidJObjectAndEnv for BiometricPrompt

impl Deref for BiometricPrompt

type Target = Object

The resulting type after dereferencing.

impl JniType for BiometricPrompt

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.