java.lang.Object | |
↳ | android.support.v4.media.session.PlaybackStateCompat.CustomAction |
CustomActions
can be used to
extend the capabilities of the standard transport controls by exposing
app specific actions to Controllers
.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
PlaybackStateCompat.CustomAction.Builder |
Builder for PlaybackStateCompat.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
PlaybackStateCompat.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
Session'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 PlaybackStateCompat.CustomAction
.
PlaybackStateCompat.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 MediaControllerCompat
if it knows
how to handle them.
PlaybackStateCompat.CustomAction
.
Returns the display name of this action. e.g. "Favorite"
PlaybackStateCompat.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 .
|