Fields Summary |
---|
private final String | mMediaIdA unique persistent id for the content or null. |
private final CharSequence | mTitleA primary title suitable for display or null. |
private final CharSequence | mSubtitleA subtitle suitable for display or null. |
private final CharSequence | mDescriptionA description suitable for display or null. |
private final android.graphics.Bitmap | mIconA bitmap icon suitable for display or null. |
private final android.net.Uri | mIconUriA Uri for an icon suitable for display or null. |
private final android.os.Bundle | mExtrasExtras for opaque use by apps/system. |
public static final Parcelable.Creator | CREATOR |
Methods Summary |
---|
public int | describeContents()
return 0;
|
public java.lang.CharSequence | getDescription()Returns a description suitable for display or null.
return mDescription;
|
public android.os.Bundle | getExtras()Returns any extras that were added to the description.
return mExtras;
|
public android.graphics.Bitmap | getIconBitmap()Returns a bitmap icon suitable for display or null.
return mIcon;
|
public android.net.Uri | getIconUri()Returns a Uri for an icon suitable for display or null.
return mIconUri;
|
public java.lang.String | getMediaId()Returns the media id or null. See
{@link MediaMetadata#METADATA_KEY_MEDIA_ID}.
return mMediaId;
|
public java.lang.CharSequence | getSubtitle()Returns a subtitle suitable for display or null.
return mSubtitle;
|
public java.lang.CharSequence | getTitle()Returns a title suitable for display or null.
return mTitle;
|
public java.lang.String | toString()
return mTitle + ", " + mSubtitle + ", " + mDescription;
|
public void | writeToParcel(android.os.Parcel dest, int flags)
dest.writeString(mMediaId);
dest.writeCharSequence(mTitle);
dest.writeCharSequence(mSubtitle);
dest.writeCharSequence(mDescription);
dest.writeParcelable(mIcon, flags);
dest.writeParcelable(mIconUri, flags);
dest.writeBundle(mExtras);
|