MediaItem

Class of android.media.browse, in MediaBrowser · MediaBrowser.java · Android's reference

public static class MediaItem implements Parcelable

Fields

public static final int FLAG_BROWSABLE = 1 source
public static final int FLAG_PLAYABLE = 2 source
public static final Parcelable.Creator<MediaItem> CREATOR source

Constructors

public MediaItem(MediaDescription description, int flags) source

Methods

public int getFlags() source
public boolean isBrowsable() source
public boolean isPlayable() source
public MediaDescription getDescription() source
public String getMediaId() source
public String toString() source
public int describeContents() source
public void writeToParcel(Parcel out, 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.