| java.lang.Object | |
| ↳ | android.media.session.PlaybackState.CustomAction | 
CustomActions can be used to extend the capabilities of
 the standard transport controls by exposing app specific actions to
 MediaControllers.
| Nested Classes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| PlaybackState.CustomAction.Builder | 
        Builder for PlaybackState.CustomAction 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 the action of the  
  
  PlaybackState.CustomAction.
          
    
         | |||||||||||
          Returns extras which provide additional application-specific information about the
 action, or null if none.
          
    
         
  
   | |||||||||||
          Returns the resource id of the icon in the  
  
  MediaSession's package.
          
    
         | |||||||||||
          Returns the display name of this action.
          
    
         
  
   | |||||||||||
          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 the action of the PlaybackState.CustomAction.
PlaybackState.CustomAction.
Returns extras which provide additional application-specific information about the
 action, or null if none. These arguments are meant to be consumed by a
 MediaController if it knows how to handle them.
PlaybackState.CustomAction.
Returns the resource id of the icon in the MediaSession's package.
MediaSession's package.
Returns the display name of this action. e.g. "Favorite"
PlaybackState.CustomAction.
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.
 |