[]Struct jni_android_sys::android::media::MediaCodec_CodecException

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

public final class MediaCodec.CodecException

Required feature: "android-media-MediaCodec_CodecException"

Methods

impl MediaCodec_CodecException

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

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

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

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

getDiagnosticInfo

Required features: "java-lang-String"

pub const ERROR_INSUFFICIENT_RESOURCE: i32[src]

public static final ERROR_INSUFFICIENT_RESOURCE

pub const ERROR_RECLAIMED: i32[src]

public static final ERROR_RECLAIMED

Methods from Deref<Target = IllegalStateException>

Trait Implementations

impl AsJValue for MediaCodec_CodecException

impl AsValidJObjectAndEnv for MediaCodec_CodecException

impl Deref for MediaCodec_CodecException

type Target = IllegalStateException

The resulting type after dereferencing.

impl JniType for MediaCodec_CodecException

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.