MediaDescription

Class of android.media · MediaDescription.java · Android's reference

public class MediaDescription implements Parcelable

What to show for a media item: its id, title, subtitle, description and icon.

Nested types

Fields

public static final long BT_FOLDER_TYPE_MIXED = 0 source
public static final long BT_FOLDER_TYPE_TITLES = 1 source
public static final long BT_FOLDER_TYPE_ALBUMS = 2 source
public static final long BT_FOLDER_TYPE_ARTISTS = 3 source
public static final long BT_FOLDER_TYPE_GENRES = 4 source
public static final long BT_FOLDER_TYPE_PLAYLISTS = 5 source
public static final long BT_FOLDER_TYPE_YEARS = 6 source
public static final String EXTRA_BT_FOLDER_TYPE = "android.media.extra.BT_FOLDER_TYPE" source
public static final Parcelable.Creator<MediaDescription> CREATOR source

Methods

public String getMediaId() source
public CharSequence getTitle() source
public CharSequence getSubtitle() source
public CharSequence getDescription() source
public Bitmap getIconBitmap() source
public Uri getIconUri() source
public Bundle getExtras() source
public Uri getMediaUri() source
public String toString() source
public int describeContents() source
public void writeToParcel(Parcel dest, int flags) source

Made from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.