public class EventedSimpleVehicleMessage extends SimpleVehicleMessage
VehicleMessage.Listener
VALUE_KEY
NAME_KEY
CREATOR, EXTRAS_KEY
Modifier | Constructor and Description |
---|---|
protected |
EventedSimpleVehicleMessage() |
|
EventedSimpleVehicleMessage(java.lang.Long timestamp,
java.lang.String name,
java.lang.Object value,
java.lang.Object event) |
protected |
EventedSimpleVehicleMessage(android.os.Parcel in) |
|
EventedSimpleVehicleMessage(java.lang.String name,
java.lang.Object value,
java.lang.Object event) |
Modifier and Type | Method and Description |
---|---|
static boolean |
containsRequiredFields(java.util.Set<java.lang.String> fields) |
boolean |
equals(java.lang.Object obj) |
java.lang.Object |
getEvent() |
java.lang.Boolean |
getEventAsBoolean() |
java.lang.Number |
getEventAsNumber() |
java.lang.String |
getEventAsString() |
void |
readFromParcel(android.os.Parcel in) |
java.lang.String |
toString() |
void |
writeToParcel(android.os.Parcel out,
int flags) |
getValue, getValueAsBoolean, getValueAsNumber, getValueAsString
compareTo, getKey, getName
setKey
asCanMessage, asCommandResponse, asDiagnosticRequest, asDiagnosticResponse, asEventedMessage, asKeyedMessage, asNamedMessage, asSimpleMessage, describeContents, getDate, getExtras, getTimestamp, hasExtras, isTimestamped, setExtras, setTimestamp, timestamp, untimestamp
public EventedSimpleVehicleMessage(java.lang.Long timestamp, java.lang.String name, java.lang.Object value, java.lang.Object event)
public EventedSimpleVehicleMessage(java.lang.String name, java.lang.Object value, java.lang.Object event)
protected EventedSimpleVehicleMessage(android.os.Parcel in)
protected EventedSimpleVehicleMessage()
public java.lang.Object getEvent()
public java.lang.Number getEventAsNumber()
public java.lang.String getEventAsString()
public java.lang.Boolean getEventAsBoolean()
public static boolean containsRequiredFields(java.util.Set<java.lang.String> fields)
public boolean equals(java.lang.Object obj)
equals
in class SimpleVehicleMessage
public java.lang.String toString()
toString
in class SimpleVehicleMessage
public void writeToParcel(android.os.Parcel out, int flags)
writeToParcel
in interface android.os.Parcelable
writeToParcel
in class SimpleVehicleMessage
public void readFromParcel(android.os.Parcel in)
readFromParcel
in class SimpleVehicleMessage