| java.lang.Object | |
| ↳ | android.media.session.MediaSession.QueueItem | 
A single item that is part of the play queue. It contains a description of the item and its id in the queue.
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| int | UNKNOWN_ID | This id is reserved. | |||||||||
| [Expand] Inherited Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|  From interface
android.os.Parcelable | |||||||||||
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| CREATOR | |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| 
          Create a new  MediaSession.QueueItem. | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| 
          Describe the kinds of special objects contained in this Parcelable's
 marshalled representation.
          
    
         | |||||||||||
| 
          Get the description for this item.
          
    
         | |||||||||||
| 
          Get the queue id for this item.
          
    
         | |||||||||||
| 
          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 | |||||||||||
This id is reserved. No items can be explicitly asigned this id.
Create a new MediaSession.QueueItem.
| description | The MediaDescriptionfor this item. | 
|---|---|
| id | An identifier for this item. It must be unique within the
            play queue and cannot be UNKNOWN_ID. | 
Describe the kinds of special objects contained in this Parcelable's marshalled representation.
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. |