[]Struct jni_android_sys::android::media::MediaCodec_CryptoException

#[repr(transparent)]
pub struct 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]

CryptoException

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]

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.

impl JniType for MediaCodec_CryptoException

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.