[−]Struct jni_android_sys::android::media::MediaCodec_CryptoException
public final class MediaCodec.CryptoException
Required feature: "android-media-MediaCodec_CryptoException"
Methods
impl MediaCodec_CryptoException
pub fn new<'env>(
__jni_env: &'env Env,
arg0: i32,
arg1: impl Into<Option<&'env String>>
) -> Result<Local<'env, MediaCodec_CryptoException>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: i32,
arg1: impl Into<Option<&'env String>>
) -> Result<Local<'env, MediaCodec_CryptoException>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn getErrorCode<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
pub const ERROR_INSUFFICIENT_OUTPUT_PROTECTION: i32
[src]
public static final ERROR_INSUFFICIENT_OUTPUT_PROTECTION
pub const ERROR_KEY_EXPIRED: i32
[src]
public static final ERROR_KEY_EXPIRED
pub const ERROR_NO_KEY: i32
[src]
public static final ERROR_NO_KEY
pub const ERROR_RESOURCE_BUSY: i32
[src]
public static final ERROR_RESOURCE_BUSY
pub const ERROR_SESSION_NOT_OPENED: i32
[src]
public static final ERROR_SESSION_NOT_OPENED
pub const ERROR_UNSUPPORTED_OPERATION: i32
[src]
public static final ERROR_UNSUPPORTED_OPERATION
Methods from Deref<Target = RuntimeException>
Trait Implementations
impl AsJValue for MediaCodec_CryptoException
impl AsValidJObjectAndEnv for MediaCodec_CryptoException
impl Deref for MediaCodec_CryptoException
type Target = RuntimeException
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
impl JniType for MediaCodec_CryptoException
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for MediaCodec_CryptoException
impl !Send for MediaCodec_CryptoException
impl !Sync for MediaCodec_CryptoException
impl Unpin for MediaCodec_CryptoException
impl UnwindSafe for MediaCodec_CryptoException
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>,