[−]Struct jni_android_sys::android::media::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]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
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.
fn deref(&self) -> &Self::Target
impl JniType for MediaCodec_CodecException
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for MediaCodec_CodecException
impl !Send for MediaCodec_CodecException
impl !Sync for MediaCodec_CodecException
impl Unpin for MediaCodec_CodecException
impl UnwindSafe for MediaCodec_CodecException
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>,