Sequenceablepublic static final class AVPlaybackState.AVPlaybackCustomAction extends Object implements Sequenceable
AVController actions, for example, an action for setting loop
playback.| 限定符和类型 | 类 | 说明 |
|---|---|---|
static class |
AVPlaybackState.AVPlaybackCustomAction.Builder |
Builder for
AVPlaybackCustomAction objects. |
Sequenceable.Producer<T>| 限定符和类型 | 字段 | 说明 |
|---|---|---|
static Sequenceable.Producer<AVPlaybackState.AVPlaybackCustomAction> |
CREATOR |
Creates a Sequenceable instance from a Parcel.
|
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
String |
getAVPlaybackAction() |
Obtains a custom action.
|
CharSequence |
getAVPlaybackActionName() |
Obtains the display name of the custom action.
|
PacMap |
getOptions() |
Obtains other optional information about the custom action.
|
int |
getResourceIdOfIcon() |
Obtains the ID of the icon displayed for the custom action.
|
boolean |
marshalling(Parcel out) |
Marshalls the
AVPlaybackCustomAction object to a Parcel. |
String |
toString() |
Returns a string representation of the object.
|
boolean |
unmarshalling(Parcel in) |
Unmarshalls the
AVPlaybackCustomAction object from a Parcel. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waithasFileDescriptorpublic static final Sequenceable.Producer<AVPlaybackState.AVPlaybackCustomAction> CREATOR
public boolean marshalling(Parcel out)
AVPlaybackCustomAction object to a Parcel.marshalling 在接口中 Sequenceableout - Indicates the Parcel object for marshalling.true if marshalling is successful; returns false otherwise.public boolean unmarshalling(Parcel in)
AVPlaybackCustomAction object from a Parcel.unmarshalling 在接口中 Sequenceablein - Indicates the Parcel object for unmarshalling.true if unmarshalling is successful; returns false otherwise.public String getAVPlaybackAction()
public CharSequence getAVPlaybackActionName()
public int getResourceIdOfIcon()
public PacMap getOptions()
null if no optional
information is available.public String toString()
ObjecttoString method returns a string that
"textually represents" this object. The result should
be a concise but informative representation that is easy for a
person to read.
It is recommended that all subclasses override this method.
The toString method for class Object
returns a string consisting of the name of the class of which the
object is an instance, the at-sign character `@', and
the unsigned hexadecimal representation of the hash code of the
object. In other words, this method returns a string equal to the
value of:
getClass().getName() + '@' + Integer.toHexString(hashCode())