[]Struct jni_android_sys::android::media::MediaMetadataEditor

#[repr(transparent)]
pub struct MediaMetadataEditor(_);
Deprecated

public class MediaMetadataEditor

Required feature: "android-media-MediaMetadataEditor"

Methods

impl MediaMetadataEditor

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

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

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

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

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

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

putString

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

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

putLong

Required features: "android-media-MediaMetadataEditor"

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

putBitmap

Required features: "android-graphics-Bitmap", "android-media-MediaMetadataEditor"

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

putObject

Required features: "android-media-MediaMetadataEditor", "java-lang-Object"

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

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

getString

Required features: "java-lang-String"

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

getBitmap

Required features: "android-graphics-Bitmap"

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

getObject

Required features: "java-lang-Object"

pub const BITMAP_KEY_ARTWORK: i32[src]

public static final BITMAP_KEY_ARTWORK

pub const RATING_KEY_BY_OTHERS: i32[src]

public static final RATING_KEY_BY_OTHERS

pub const RATING_KEY_BY_USER: i32[src]

public static final RATING_KEY_BY_USER

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 MediaMetadataEditor

impl AsValidJObjectAndEnv for MediaMetadataEditor

impl Deref for MediaMetadataEditor

type Target = Object

The resulting type after dereferencing.

impl JniType for MediaMetadataEditor

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.