Sequenceablepublic final class AVDescription extends Object implements Sequenceable
SystemCapability.Multimedia#MEDIA| 限定符和类型 | 类 | 说明 |
|---|---|---|
static class |
AVDescription.Builder |
Static inner class used to create
AVDescription objects. |
Sequenceable.Producer<T>| 限定符和类型 | 字段 | 说明 |
|---|---|---|
static Sequenceable.Producer<AVDescription> |
CREATOR |
Indicates a creator to generate an
AVDescription instance from a Parcel. |
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
CharSequence |
getDescription() |
Obtains the media item description.
|
PacMap |
getExtras() |
Obtains extra information about the media item, for example, internal information used by the application and
system.
|
PixelMap |
getIcon() |
Obtains the media item icon.
|
Uri |
getIconUri() |
Obtains the URI of the media item icon.
|
String |
getMediaId() |
Obtains the ID of the media item.
|
Uri |
getMediaUri() |
Obtains the URI of the media content.
|
CharSequence |
getSubTitle() |
Obtains the subtitle of the media item.
|
CharSequence |
getTitle() |
Obtains the title of the media item.
|
boolean |
marshalling(Parcel parcel) |
Marshals the
AVDescription object into a Parcel. |
boolean |
unmarshalling(Parcel parcel) |
Unmarshals this
Sequenceable object from a Parcel. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithasFileDescriptorpublic static final Sequenceable.Producer<AVDescription> CREATOR
AVDescription instance from a Parcel.public String getMediaId()
public CharSequence getTitle()
public CharSequence getSubTitle()
public CharSequence getDescription()
public PixelMap getIcon()
public Uri getIconUri()
public PacMap getExtras()
public Uri getMediaUri()
public boolean marshalling(Parcel parcel)
AVDescription object into a Parcel.marshalling 在接口中 Sequenceableparcel - Indicates the Parcel for marshalling.true if the marshalling is successful; returns false otherwise.public boolean unmarshalling(Parcel parcel)
SequenceableSequenceable object from a Parcel.unmarshalling 在接口中 Sequenceableparcel - Indicates the Parcel object into which the Sequenceable
object has been marshaled.true if the unmarshalling is successful; returns false otherwise.