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) |
setKey
asCanMessage, asCommandResponse, asDiagnosticRequest, asDiagnosticResponse, asEventedMessage, asKeyedMessage, asNamedMessage, asSimpleMessage, compareTo, describeContents, getDate, getExtras, getTimestamp, hasExtras, isTimestamped, setExtras, setTimestamp, timestamp, untimestamp
protected 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()
KeyedMessage
getKey
in class KeyedMessage
public boolean equals(java.lang.Object obj)
equals
in class VehicleMessage
public java.lang.String toString()
toString
in class VehicleMessage
public void writeToParcel(android.os.Parcel out, int flags)
writeToParcel
in interface android.os.Parcelable
writeToParcel
in class VehicleMessage
protected void readFromParcel(android.os.Parcel in)
readFromParcel
in class VehicleMessage