public class CustomCommand extends KeyedMessage
VehicleMessage.Listener| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.String |
COMMAND_KEY |
CREATOR, EXTRAS_KEY| Modifier | Constructor and Description |
|---|---|
protected |
CustomCommand() |
|
CustomCommand(java.util.HashMap commands) |
protected |
CustomCommand(android.os.Parcel in) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.util.HashMap<java.lang.String,java.lang.String> |
getCommands() |
MessageKey |
getKey()
Return the identifying key for this message.
|
protected void |
readFromParcel(android.os.Parcel in) |
java.lang.String |
toString() |
void |
writeToParcel(android.os.Parcel out,
int flags) |
setKeyasCanMessage, asCommandResponse, asDiagnosticRequest, asDiagnosticResponse, asEventedMessage, asKeyedMessage, asNamedMessage, asSimpleMessage, compareTo, describeContents, getDate, getExtras, getTimestamp, hasExtras, isTimestamped, setExtras, setTimestamp, timestamp, untimestampprotected static final java.lang.String COMMAND_KEY
public CustomCommand(java.util.HashMap commands)
protected CustomCommand(android.os.Parcel in)
protected CustomCommand()
public java.util.HashMap<java.lang.String,java.lang.String> getCommands()
public MessageKey getKey()
KeyedMessagegetKey in class KeyedMessagepublic boolean equals(java.lang.Object obj)
equals in class VehicleMessagepublic java.lang.String toString()
toString in class VehicleMessagepublic void writeToParcel(android.os.Parcel out,
int flags)
writeToParcel in interface android.os.ParcelablewriteToParcel in class VehicleMessageprotected void readFromParcel(android.os.Parcel in)
readFromParcel in class VehicleMessage