[]Struct jni_android_sys::android::media::MediaFormat

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

public final class MediaFormat

Required feature: "android-media-MediaFormat"

Methods

impl MediaFormat

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

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

containsKey

Required features: "java-lang-String"

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

getInteger

Required features: "java-lang-String"

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

getLong

Required features: "java-lang-String"

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

getFloat

Required features: "java-lang-String"

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

getString

Required features: "java-lang-String"

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

getByteBuffer

Required features: "java-lang-String", "java-nio-ByteBuffer"

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

getFeatureEnabled

Required features: "java-lang-String"

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

setInteger

Required features: "java-lang-String"

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

setLong

Required features: "java-lang-String"

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

setFloat

Required features: "java-lang-String"

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

setString

Required features: "java-lang-String"

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

setByteBuffer

Required features: "java-lang-String", "java-nio-ByteBuffer"

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

setFeatureEnabled

Required features: "java-lang-String"

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

createAudioFormat

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

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

createSubtitleFormat

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

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

createVideoFormat

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

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

toString

Required features: "java-lang-String"

pub const COLOR_RANGE_FULL: i32[src]

public static final COLOR_RANGE_FULL

pub const COLOR_RANGE_LIMITED: i32[src]

public static final COLOR_RANGE_LIMITED

pub const COLOR_STANDARD_BT2020: i32[src]

public static final COLOR_STANDARD_BT2020

pub const COLOR_STANDARD_BT601_NTSC: i32[src]

public static final COLOR_STANDARD_BT601_NTSC

pub const COLOR_STANDARD_BT601_PAL: i32[src]

public static final COLOR_STANDARD_BT601_PAL

pub const COLOR_STANDARD_BT709: i32[src]

public static final COLOR_STANDARD_BT709

pub const COLOR_TRANSFER_HLG: i32[src]

public static final COLOR_TRANSFER_HLG

pub const COLOR_TRANSFER_LINEAR: i32[src]

public static final COLOR_TRANSFER_LINEAR

pub const COLOR_TRANSFER_SDR_VIDEO: i32[src]

public static final COLOR_TRANSFER_SDR_VIDEO

pub const COLOR_TRANSFER_ST2084: i32[src]

public static final COLOR_TRANSFER_ST2084

pub const KEY_AAC_DRC_ATTENUATION_FACTOR: &'static str[src]

public static final KEY_AAC_DRC_ATTENUATION_FACTOR

pub const KEY_AAC_DRC_BOOST_FACTOR: &'static str[src]

public static final KEY_AAC_DRC_BOOST_FACTOR

pub const KEY_AAC_DRC_EFFECT_TYPE: &'static str[src]

public static final KEY_AAC_DRC_EFFECT_TYPE

pub const KEY_AAC_DRC_HEAVY_COMPRESSION: &'static str[src]

public static final KEY_AAC_DRC_HEAVY_COMPRESSION

pub const KEY_AAC_DRC_TARGET_REFERENCE_LEVEL: &'static str[src]

pub const KEY_AAC_ENCODED_TARGET_LEVEL: &'static str[src]

public static final KEY_AAC_ENCODED_TARGET_LEVEL

pub const KEY_AAC_MAX_OUTPUT_CHANNEL_COUNT: &'static str[src]

pub const KEY_AAC_PROFILE: &'static str[src]

public static final KEY_AAC_PROFILE

pub const KEY_AAC_SBR_MODE: &'static str[src]

public static final KEY_AAC_SBR_MODE

pub const KEY_AUDIO_SESSION_ID: &'static str[src]

public static final KEY_AUDIO_SESSION_ID

pub const KEY_BITRATE_MODE: &'static str[src]

public static final KEY_BITRATE_MODE

pub const KEY_BIT_RATE: &'static str[src]

public static final KEY_BIT_RATE

pub const KEY_CAPTURE_RATE: &'static str[src]

public static final KEY_CAPTURE_RATE

pub const KEY_CHANNEL_COUNT: &'static str[src]

public static final KEY_CHANNEL_COUNT

pub const KEY_CHANNEL_MASK: &'static str[src]

public static final KEY_CHANNEL_MASK

pub const KEY_COLOR_FORMAT: &'static str[src]

public static final KEY_COLOR_FORMAT

pub const KEY_COLOR_RANGE: &'static str[src]

public static final KEY_COLOR_RANGE

pub const KEY_COLOR_STANDARD: &'static str[src]

public static final KEY_COLOR_STANDARD

pub const KEY_COLOR_TRANSFER: &'static str[src]

public static final KEY_COLOR_TRANSFER

pub const KEY_COMPLEXITY: &'static str[src]

public static final KEY_COMPLEXITY

pub const KEY_DURATION: &'static str[src]

public static final KEY_DURATION

pub const KEY_FLAC_COMPRESSION_LEVEL: &'static str[src]

public static final KEY_FLAC_COMPRESSION_LEVEL

pub const KEY_FRAME_RATE: &'static str[src]

public static final KEY_FRAME_RATE

pub const KEY_GRID_COLUMNS: &'static str[src]

public static final KEY_GRID_COLUMNS

pub const KEY_GRID_ROWS: &'static str[src]

public static final KEY_GRID_ROWS

pub const KEY_HDR_STATIC_INFO: &'static str[src]

public static final KEY_HDR_STATIC_INFO

pub const KEY_HEIGHT: &'static str[src]

public static final KEY_HEIGHT

pub const KEY_INTRA_REFRESH_PERIOD: &'static str[src]

public static final KEY_INTRA_REFRESH_PERIOD

pub const KEY_IS_ADTS: &'static str[src]

public static final KEY_IS_ADTS

pub const KEY_IS_AUTOSELECT: &'static str[src]

public static final KEY_IS_AUTOSELECT

pub const KEY_IS_DEFAULT: &'static str[src]

public static final KEY_IS_DEFAULT

pub const KEY_IS_FORCED_SUBTITLE: &'static str[src]

public static final KEY_IS_FORCED_SUBTITLE

pub const KEY_I_FRAME_INTERVAL: &'static str[src]

public static final KEY_I_FRAME_INTERVAL

pub const KEY_LANGUAGE: &'static str[src]

public static final KEY_LANGUAGE

pub const KEY_LATENCY: &'static str[src]

public static final KEY_LATENCY

pub const KEY_LEVEL: &'static str[src]

public static final KEY_LEVEL

pub const KEY_MAX_HEIGHT: &'static str[src]

public static final KEY_MAX_HEIGHT

pub const KEY_MAX_INPUT_SIZE: &'static str[src]

public static final KEY_MAX_INPUT_SIZE

pub const KEY_MAX_WIDTH: &'static str[src]

public static final KEY_MAX_WIDTH

pub const KEY_MIME: &'static str[src]

public static final KEY_MIME

pub const KEY_OPERATING_RATE: &'static str[src]

public static final KEY_OPERATING_RATE

pub const KEY_OUTPUT_REORDER_DEPTH: &'static str[src]

public static final KEY_OUTPUT_REORDER_DEPTH

pub const KEY_PCM_ENCODING: &'static str[src]

public static final KEY_PCM_ENCODING

pub const KEY_PRIORITY: &'static str[src]

public static final KEY_PRIORITY

pub const KEY_PROFILE: &'static str[src]

public static final KEY_PROFILE

pub const KEY_PUSH_BLANK_BUFFERS_ON_STOP: &'static str[src]

public static final KEY_PUSH_BLANK_BUFFERS_ON_STOP

pub const KEY_QUALITY: &'static str[src]

public static final KEY_QUALITY

pub const KEY_REPEAT_PREVIOUS_FRAME_AFTER: &'static str[src]

public static final KEY_REPEAT_PREVIOUS_FRAME_AFTER

pub const KEY_ROTATION: &'static str[src]

public static final KEY_ROTATION

pub const KEY_SAMPLE_RATE: &'static str[src]

public static final KEY_SAMPLE_RATE

pub const KEY_SLICE_HEIGHT: &'static str[src]

public static final KEY_SLICE_HEIGHT

pub const KEY_STRIDE: &'static str[src]

public static final KEY_STRIDE

pub const KEY_TEMPORAL_LAYERING: &'static str[src]

public static final KEY_TEMPORAL_LAYERING

pub const KEY_TILE_HEIGHT: &'static str[src]

public static final KEY_TILE_HEIGHT

pub const KEY_TILE_WIDTH: &'static str[src]

public static final KEY_TILE_WIDTH

pub const KEY_TRACK_ID: &'static str[src]

public static final KEY_TRACK_ID

pub const KEY_WIDTH: &'static str[src]

public static final KEY_WIDTH

pub const MIMETYPE_AUDIO_AAC: &'static str[src]

public static final MIMETYPE_AUDIO_AAC

pub const MIMETYPE_AUDIO_AC3: &'static str[src]

public static final MIMETYPE_AUDIO_AC3

pub const MIMETYPE_AUDIO_AMR_NB: &'static str[src]

public static final MIMETYPE_AUDIO_AMR_NB

pub const MIMETYPE_AUDIO_AMR_WB: &'static str[src]

public static final MIMETYPE_AUDIO_AMR_WB

pub const MIMETYPE_AUDIO_EAC3: &'static str[src]

public static final MIMETYPE_AUDIO_EAC3

pub const MIMETYPE_AUDIO_FLAC: &'static str[src]

public static final MIMETYPE_AUDIO_FLAC

pub const MIMETYPE_AUDIO_G711_ALAW: &'static str[src]

public static final MIMETYPE_AUDIO_G711_ALAW

pub const MIMETYPE_AUDIO_G711_MLAW: &'static str[src]

public static final MIMETYPE_AUDIO_G711_MLAW

pub const MIMETYPE_AUDIO_MPEG: &'static str[src]

public static final MIMETYPE_AUDIO_MPEG

pub const MIMETYPE_AUDIO_MSGSM: &'static str[src]

public static final MIMETYPE_AUDIO_MSGSM

pub const MIMETYPE_AUDIO_OPUS: &'static str[src]

public static final MIMETYPE_AUDIO_OPUS

pub const MIMETYPE_AUDIO_QCELP: &'static str[src]

public static final MIMETYPE_AUDIO_QCELP

pub const MIMETYPE_AUDIO_RAW: &'static str[src]

public static final MIMETYPE_AUDIO_RAW

pub const MIMETYPE_AUDIO_SCRAMBLED: &'static str[src]

public static final MIMETYPE_AUDIO_SCRAMBLED

pub const MIMETYPE_AUDIO_VORBIS: &'static str[src]

public static final MIMETYPE_AUDIO_VORBIS

pub const MIMETYPE_IMAGE_ANDROID_HEIC: &'static str[src]

public static final MIMETYPE_IMAGE_ANDROID_HEIC

pub const MIMETYPE_TEXT_CEA_608: &'static str[src]

public static final MIMETYPE_TEXT_CEA_608

pub const MIMETYPE_TEXT_CEA_708: &'static str[src]

public static final MIMETYPE_TEXT_CEA_708

pub const MIMETYPE_TEXT_SUBRIP: &'static str[src]

public static final MIMETYPE_TEXT_SUBRIP

pub const MIMETYPE_TEXT_VTT: &'static str[src]

public static final MIMETYPE_TEXT_VTT

pub const MIMETYPE_VIDEO_AVC: &'static str[src]

public static final MIMETYPE_VIDEO_AVC

pub const MIMETYPE_VIDEO_DOLBY_VISION: &'static str[src]

public static final MIMETYPE_VIDEO_DOLBY_VISION

pub const MIMETYPE_VIDEO_H263: &'static str[src]

public static final MIMETYPE_VIDEO_H263

pub const MIMETYPE_VIDEO_HEVC: &'static str[src]

public static final MIMETYPE_VIDEO_HEVC

pub const MIMETYPE_VIDEO_MPEG2: &'static str[src]

public static final MIMETYPE_VIDEO_MPEG2

pub const MIMETYPE_VIDEO_MPEG4: &'static str[src]

public static final MIMETYPE_VIDEO_MPEG4

pub const MIMETYPE_VIDEO_RAW: &'static str[src]

public static final MIMETYPE_VIDEO_RAW

pub const MIMETYPE_VIDEO_SCRAMBLED: &'static str[src]

public static final MIMETYPE_VIDEO_SCRAMBLED

pub const MIMETYPE_VIDEO_VP8: &'static str[src]

public static final MIMETYPE_VIDEO_VP8

pub const MIMETYPE_VIDEO_VP9: &'static str[src]

public static final MIMETYPE_VIDEO_VP9

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 MediaFormat

impl AsValidJObjectAndEnv for MediaFormat

impl Deref for MediaFormat

type Target = Object

The resulting type after dereferencing.

impl JniType for MediaFormat

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.