[]Struct jni_android_sys::android::media::MediaMetadata

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

public final class MediaMetadata

Required feature: "android-media-MediaMetadata"

Methods

impl MediaMetadata

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 getText<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, CharSequence>>, Local<'env, Throwable>>
[src]

getText

Required features: "java-lang-CharSequence", "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 getLong<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>
) -> Result<i64, Local<'env, Throwable>>
[src]

getLong

Required features: "java-lang-String"

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

getRating

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

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

getBitmap

Required features: "android-graphics-Bitmap", "java-lang-String"

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

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

writeToParcel

Required features: "android-os-Parcel"

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

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

keySet

Required features: "java-util-Set"

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

getDescription

Required features: "android-media-MediaDescription"

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 hashCode<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>[src]

pub fn CREATOR<'env>(env: &'env Env) -> Option<Local<'env, Parcelable_Creator>>[src]

get public static final CREATOR

Required feature: "android-os-Parcelable_Creator"

pub const METADATA_KEY_ALBUM: &'static str[src]

public static final METADATA_KEY_ALBUM

pub const METADATA_KEY_ALBUM_ART: &'static str[src]

public static final METADATA_KEY_ALBUM_ART

pub const METADATA_KEY_ALBUM_ARTIST: &'static str[src]

public static final METADATA_KEY_ALBUM_ARTIST

pub const METADATA_KEY_ALBUM_ART_URI: &'static str[src]

public static final METADATA_KEY_ALBUM_ART_URI

pub const METADATA_KEY_ART: &'static str[src]

public static final METADATA_KEY_ART

pub const METADATA_KEY_ARTIST: &'static str[src]

public static final METADATA_KEY_ARTIST

pub const METADATA_KEY_ART_URI: &'static str[src]

public static final METADATA_KEY_ART_URI

pub const METADATA_KEY_AUTHOR: &'static str[src]

public static final METADATA_KEY_AUTHOR

pub const METADATA_KEY_BT_FOLDER_TYPE: &'static str[src]

public static final METADATA_KEY_BT_FOLDER_TYPE

pub const METADATA_KEY_COMPILATION: &'static str[src]

public static final METADATA_KEY_COMPILATION

pub const METADATA_KEY_COMPOSER: &'static str[src]

public static final METADATA_KEY_COMPOSER

pub const METADATA_KEY_DATE: &'static str[src]

public static final METADATA_KEY_DATE

pub const METADATA_KEY_DISC_NUMBER: &'static str[src]

public static final METADATA_KEY_DISC_NUMBER

pub const METADATA_KEY_DISPLAY_DESCRIPTION: &'static str[src]

pub const METADATA_KEY_DISPLAY_ICON: &'static str[src]

public static final METADATA_KEY_DISPLAY_ICON

pub const METADATA_KEY_DISPLAY_ICON_URI: &'static str[src]

public static final METADATA_KEY_DISPLAY_ICON_URI

pub const METADATA_KEY_DISPLAY_SUBTITLE: &'static str[src]

public static final METADATA_KEY_DISPLAY_SUBTITLE

pub const METADATA_KEY_DISPLAY_TITLE: &'static str[src]

public static final METADATA_KEY_DISPLAY_TITLE

pub const METADATA_KEY_DURATION: &'static str[src]

public static final METADATA_KEY_DURATION

pub const METADATA_KEY_GENRE: &'static str[src]

public static final METADATA_KEY_GENRE

pub const METADATA_KEY_MEDIA_ID: &'static str[src]

public static final METADATA_KEY_MEDIA_ID

pub const METADATA_KEY_MEDIA_URI: &'static str[src]

public static final METADATA_KEY_MEDIA_URI

pub const METADATA_KEY_NUM_TRACKS: &'static str[src]

public static final METADATA_KEY_NUM_TRACKS

pub const METADATA_KEY_RATING: &'static str[src]

public static final METADATA_KEY_RATING

pub const METADATA_KEY_TITLE: &'static str[src]

public static final METADATA_KEY_TITLE

pub const METADATA_KEY_TRACK_NUMBER: &'static str[src]

public static final METADATA_KEY_TRACK_NUMBER

pub const METADATA_KEY_USER_RATING: &'static str[src]

public static final METADATA_KEY_USER_RATING

pub const METADATA_KEY_WRITER: &'static str[src]

public static final METADATA_KEY_WRITER

pub const METADATA_KEY_YEAR: &'static str[src]

public static final METADATA_KEY_YEAR

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 MediaMetadata

impl AsRef<Parcelable> for MediaMetadata

impl AsValidJObjectAndEnv for MediaMetadata

impl Deref for MediaMetadata

type Target = Object

The resulting type after dereferencing.

impl JniType for MediaMetadata

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.