[]Struct jni_android_sys::android::media::MediaCodecInfo_CodecCapabilities

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

public final class MediaCodecInfo.CodecCapabilities

Required feature: "android-media-MediaCodecInfo_CodecCapabilities"

Methods

impl MediaCodecInfo_CodecCapabilities

pub fn new<'env>(
    __jni_env: &'env Env
) -> Result<Local<'env, MediaCodecInfo_CodecCapabilities>, Local<'env, Throwable>>
[src]

pub fn isFeatureSupported<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
[src]

isFeatureSupported

Required features: "java-lang-String"

pub fn isFeatureRequired<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
[src]

isFeatureRequired

Required features: "java-lang-String"

pub fn isFormatSupported<'env>(
    &'env self,
    arg0: impl Into<Option<&'env MediaFormat>>
) -> Result<bool, Local<'env, Throwable>>
[src]

isFormatSupported

Required features: "android-media-MediaFormat"

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

getDefaultFormat

Required features: "android-media-MediaFormat"

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

getMimeType

Required features: "java-lang-String"

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

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

getAudioCapabilities

Required features: "android-media-MediaCodecInfo_AudioCapabilities"

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

getEncoderCapabilities

Required features: "android-media-MediaCodecInfo_EncoderCapabilities"

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

getVideoCapabilities

Required features: "android-media-MediaCodecInfo_VideoCapabilities"

pub fn createFromProfileLevel<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env String>>,
    arg1: i32,
    arg2: i32
) -> Result<Option<Local<'env, MediaCodecInfo_CodecCapabilities>>, Local<'env, Throwable>>
[src]

createFromProfileLevel

Required features: "android-media-MediaCodecInfo_CodecCapabilities", "java-lang-String"

pub const COLOR_Format12bitRGB444: i32[src]

Deprecated

public static final COLOR_Format12bitRGB444

pub const COLOR_Format16bitARGB1555: i32[src]

Deprecated

public static final COLOR_Format16bitARGB1555

pub const COLOR_Format16bitARGB4444: i32[src]

Deprecated

public static final COLOR_Format16bitARGB4444

pub const COLOR_Format16bitBGR565: i32[src]

Deprecated

public static final COLOR_Format16bitBGR565

pub const COLOR_Format16bitRGB565: i32[src]

public static final COLOR_Format16bitRGB565

pub const COLOR_Format18BitBGR666: i32[src]

Deprecated

public static final COLOR_Format18BitBGR666

pub const COLOR_Format18bitARGB1665: i32[src]

Deprecated

public static final COLOR_Format18bitARGB1665

pub const COLOR_Format18bitRGB666: i32[src]

Deprecated

public static final COLOR_Format18bitRGB666

pub const COLOR_Format19bitARGB1666: i32[src]

Deprecated

public static final COLOR_Format19bitARGB1666

pub const COLOR_Format24BitABGR6666: i32[src]

Deprecated

public static final COLOR_Format24BitABGR6666

pub const COLOR_Format24BitARGB6666: i32[src]

Deprecated

public static final COLOR_Format24BitARGB6666

pub const COLOR_Format24bitARGB1887: i32[src]

Deprecated

public static final COLOR_Format24bitARGB1887

pub const COLOR_Format24bitBGR888: i32[src]

public static final COLOR_Format24bitBGR888

pub const COLOR_Format24bitRGB888: i32[src]

Deprecated

public static final COLOR_Format24bitRGB888

pub const COLOR_Format25bitARGB1888: i32[src]

Deprecated

public static final COLOR_Format25bitARGB1888

pub const COLOR_Format32bitABGR8888: i32[src]

public static final COLOR_Format32bitABGR8888

pub const COLOR_Format32bitARGB8888: i32[src]

Deprecated

public static final COLOR_Format32bitARGB8888

pub const COLOR_Format32bitBGRA8888: i32[src]

Deprecated

public static final COLOR_Format32bitBGRA8888

pub const COLOR_Format8bitRGB332: i32[src]

Deprecated

public static final COLOR_Format8bitRGB332

pub const COLOR_FormatCbYCrY: i32[src]

Deprecated

public static final COLOR_FormatCbYCrY

pub const COLOR_FormatCrYCbY: i32[src]

Deprecated

public static final COLOR_FormatCrYCbY

pub const COLOR_FormatL16: i32[src]

public static final COLOR_FormatL16

pub const COLOR_FormatL2: i32[src]

Deprecated

public static final COLOR_FormatL2

pub const COLOR_FormatL24: i32[src]

Deprecated

public static final COLOR_FormatL24

pub const COLOR_FormatL32: i32[src]

Deprecated

public static final COLOR_FormatL32

pub const COLOR_FormatL4: i32[src]

Deprecated

public static final COLOR_FormatL4

pub const COLOR_FormatL8: i32[src]

public static final COLOR_FormatL8

pub const COLOR_FormatMonochrome: i32[src]

Deprecated

public static final COLOR_FormatMonochrome

pub const COLOR_FormatRGBAFlexible: i32[src]

public static final COLOR_FormatRGBAFlexible

pub const COLOR_FormatRGBFlexible: i32[src]

public static final COLOR_FormatRGBFlexible

pub const COLOR_FormatRawBayer10bit: i32[src]

public static final COLOR_FormatRawBayer10bit

pub const COLOR_FormatRawBayer8bit: i32[src]

public static final COLOR_FormatRawBayer8bit

pub const COLOR_FormatRawBayer8bitcompressed: i32[src]

pub const COLOR_FormatSurface: i32[src]

public static final COLOR_FormatSurface

pub const COLOR_FormatYCbYCr: i32[src]

Deprecated

public static final COLOR_FormatYCbYCr

pub const COLOR_FormatYCrYCb: i32[src]

Deprecated

public static final COLOR_FormatYCrYCb

pub const COLOR_FormatYUV411PackedPlanar: i32[src]

Deprecated

public static final COLOR_FormatYUV411PackedPlanar

pub const COLOR_FormatYUV411Planar: i32[src]

Deprecated

public static final COLOR_FormatYUV411Planar

pub const COLOR_FormatYUV420Flexible: i32[src]

public static final COLOR_FormatYUV420Flexible

pub const COLOR_FormatYUV420PackedPlanar: i32[src]

Deprecated

public static final COLOR_FormatYUV420PackedPlanar

pub const COLOR_FormatYUV420PackedSemiPlanar: i32[src]

Deprecated

pub const COLOR_FormatYUV420Planar: i32[src]

Deprecated

public static final COLOR_FormatYUV420Planar

pub const COLOR_FormatYUV420SemiPlanar: i32[src]

Deprecated

public static final COLOR_FormatYUV420SemiPlanar

pub const COLOR_FormatYUV422Flexible: i32[src]

public static final COLOR_FormatYUV422Flexible

pub const COLOR_FormatYUV422PackedPlanar: i32[src]

Deprecated

public static final COLOR_FormatYUV422PackedPlanar

pub const COLOR_FormatYUV422PackedSemiPlanar: i32[src]

Deprecated

pub const COLOR_FormatYUV422Planar: i32[src]

Deprecated

public static final COLOR_FormatYUV422Planar

pub const COLOR_FormatYUV422SemiPlanar: i32[src]

Deprecated

public static final COLOR_FormatYUV422SemiPlanar

pub const COLOR_FormatYUV444Flexible: i32[src]

public static final COLOR_FormatYUV444Flexible

pub const COLOR_FormatYUV444Interleaved: i32[src]

Deprecated

public static final COLOR_FormatYUV444Interleaved

pub const COLOR_QCOM_FormatYUV420SemiPlanar: i32[src]

Deprecated

pub const COLOR_TI_FormatYUV420PackedSemiPlanar: i32[src]

Deprecated

pub const FEATURE_AdaptivePlayback: &'static str[src]

public static final FEATURE_AdaptivePlayback

pub const FEATURE_IntraRefresh: &'static str[src]

public static final FEATURE_IntraRefresh

pub const FEATURE_PartialFrame: &'static str[src]

public static final FEATURE_PartialFrame

pub const FEATURE_SecurePlayback: &'static str[src]

public static final FEATURE_SecurePlayback

pub const FEATURE_TunneledPlayback: &'static str[src]

public static final FEATURE_TunneledPlayback

pub fn colorFormats<'env>(&'env self) -> Option<Local<'env, IntArray>>[src]

get public colorFormats

pub fn set_colorFormats<'env, 'obj>(
    &'env self,
    value: impl Into<Option<&'obj IntArray>>
)
[src]

set public colorFormats

pub fn profileLevels<'env>(
    &'env self
) -> Option<Local<'env, ObjectArray<MediaCodecInfo_CodecProfileLevel, Throwable>>>
[src]

get public profileLevels

Required feature: "android-media-MediaCodecInfo_CodecProfileLevel"

pub fn set_profileLevels<'env, 'obj>(
    &'env self,
    value: impl Into<Option<&'obj ObjectArray<MediaCodecInfo_CodecProfileLevel, Throwable>>>
)
[src]

set public profileLevels

Required feature: "android-media-MediaCodecInfo_CodecProfileLevel"

Methods from Deref<Target = Object>

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

getClass

Required features: "java-lang-Class"

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

pub fn equals<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
[src]

equals

Required features: "java-lang-Object"

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

toString

Required features: "java-lang-String"

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

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

pub fn wait_long<'env>(
    &'env self,
    arg0: i64
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn wait_long_int<'env>(
    &'env self,
    arg0: i64,
    arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]

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

Trait Implementations

impl AsJValue for MediaCodecInfo_CodecCapabilities

impl AsValidJObjectAndEnv for MediaCodecInfo_CodecCapabilities

impl Deref for MediaCodecInfo_CodecCapabilities

type Target = Object

The resulting type after dereferencing.

impl JniType for MediaCodecInfo_CodecCapabilities

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.