[−]Struct jni_android_sys::android::hardware::camera2::CameraAccessException
public class CameraAccessException
Required feature: "android-hardware-camera2-CameraAccessException"
Methods
impl CameraAccessException
pub fn new_int<'env>(
__jni_env: &'env Env,
arg0: i32
) -> Result<Local<'env, CameraAccessException>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: i32
) -> Result<Local<'env, CameraAccessException>, Local<'env, Throwable>>
pub fn new_int_String<'env>(
__jni_env: &'env Env,
arg0: i32,
arg1: impl Into<Option<&'env String>>
) -> Result<Local<'env, CameraAccessException>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: i32,
arg1: impl Into<Option<&'env String>>
) -> Result<Local<'env, CameraAccessException>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn new_int_String_Throwable<'env>(
__jni_env: &'env Env,
arg0: i32,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env Throwable>>
) -> Result<Local<'env, CameraAccessException>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: i32,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env Throwable>>
) -> Result<Local<'env, CameraAccessException>, Local<'env, Throwable>>
Required features: "java-lang-String", "java-lang-Throwable"
pub fn new_int_Throwable<'env>(
__jni_env: &'env Env,
arg0: i32,
arg1: impl Into<Option<&'env Throwable>>
) -> Result<Local<'env, CameraAccessException>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: i32,
arg1: impl Into<Option<&'env Throwable>>
) -> Result<Local<'env, CameraAccessException>, Local<'env, Throwable>>
Required features: "java-lang-Throwable"
pub fn getReason<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
pub const CAMERA_DISABLED: i32
[src]
public static final CAMERA_DISABLED
pub const CAMERA_DISCONNECTED: i32
[src]
public static final CAMERA_DISCONNECTED
pub const CAMERA_ERROR: i32
[src]
public static final CAMERA_ERROR
pub const CAMERA_IN_USE: i32
[src]
public static final CAMERA_IN_USE
pub const MAX_CAMERAS_IN_USE: i32
[src]
public static final MAX_CAMERAS_IN_USE
Methods from Deref<Target = AndroidException>
Trait Implementations
impl AsJValue for CameraAccessException
impl AsValidJObjectAndEnv for CameraAccessException
impl Deref for CameraAccessException
type Target = AndroidException
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
impl JniType for CameraAccessException
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for CameraAccessException
impl !Send for CameraAccessException
impl !Sync for CameraAccessException
impl Unpin for CameraAccessException
impl UnwindSafe for CameraAccessException
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,