java.lang.Object | |
↳ | android.media.MediaDescription |
A simple set of metadata for a media item suitable for display. This can be
created using the Builder or retrieved from existing metadata using
getDescription()
.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
MediaDescription.Builder |
Builder for MediaDescription objects.
|
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
android.os.Parcelable
|
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
CREATOR |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Describe the kinds of special objects contained in this Parcelable's
marshalled representation.
| |||||||||||
Returns a description suitable for display or null.
| |||||||||||
Returns any extras that were added to the description.
| |||||||||||
Returns a bitmap icon suitable for display or null.
| |||||||||||
Returns a Uri for an icon suitable for display or null.
| |||||||||||
Returns the media id or null.
| |||||||||||
Returns a subtitle suitable for display or null.
| |||||||||||
Returns a title suitable for display or null.
| |||||||||||
Returns a string containing a concise, human-readable description of this
object.
| |||||||||||
Flatten this object in to a Parcel.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
android.os.Parcelable
|
Describe the kinds of special objects contained in this Parcelable's marshalled representation.
Returns a description suitable for display or null.
Returns any extras that were added to the description.
Returns a bitmap icon suitable for display or null.
Returns a Uri for an icon suitable for display or null.
Returns the media id or null. See
METADATA_KEY_MEDIA_ID
.
Returns a subtitle suitable for display or null.
Returns a title suitable for display or null.
Returns a string containing a concise, human-readable description of this object. Subclasses are encouraged to override this method and provide an implementation that takes into account the object's type and data. The default implementation is equivalent to the following expression:
getClass().getName() + '@' + Integer.toHexString(hashCode())
See Writing a useful
toString
method
if you intend implementing your own toString
method.
Flatten this object in to a Parcel.
dest | The Parcel in which the object should be written. |
---|---|
flags | Additional flags about how the object should be written.
May be 0 or PARCELABLE_WRITE_RETURN_VALUE .
|