[−]Struct jni_android_sys::android::media::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]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, CharSequence>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn getLong<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<i64, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<i64, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Rating>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Bitmap>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env Parcel>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
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]
&'env self
) -> Result<Option<Local<'env, Set>>, Local<'env, Throwable>>
Required features: "java-util-Set"
pub fn getDescription<'env>(
&'env self
) -> Result<Option<Local<'env, MediaDescription>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, MediaDescription>>, Local<'env, Throwable>>
Required features: "android-media-MediaDescription"
pub fn equals<'env>(
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
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]
public static final METADATA_KEY_DISPLAY_DESCRIPTION
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]
&'env self
) -> Result<Option<Local<'env, Class>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "java-lang-Object"
pub fn toString<'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 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]
&'env self,
arg0: i64
) -> Result<(), Local<'env, Throwable>>
pub fn wait_long_int<'env>(
&'env self,
arg0: i64,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i64,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
pub fn wait<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
Trait Implementations
impl AsJValue for MediaMetadata
impl AsRef<Parcelable> for MediaMetadata
fn as_ref(&self) -> &Parcelable
impl AsValidJObjectAndEnv for MediaMetadata
impl Deref for MediaMetadata
impl JniType for MediaMetadata
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for MediaMetadata
impl !Send for MediaMetadata
impl !Sync for MediaMetadata
impl Unpin for MediaMetadata
impl UnwindSafe for MediaMetadata
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>,