public class DiagnosticRequest extends DiagnosticMessage
VehicleMessage.Listener
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ADD_ACTION_KEY |
static java.lang.String |
CANCEL_ACTION_KEY |
BUS_KEY, BUS_RANGE, ID_KEY, MODE_KEY, MODE_RANGE, PAYLOAD_KEY, PID_KEY
CREATOR, EXTRAS_KEY
Modifier | Constructor and Description |
---|---|
protected |
DiagnosticRequest() |
|
DiagnosticRequest(int busId,
int id,
int mode) |
|
DiagnosticRequest(int busId,
int id,
int mode,
int pid) |
protected |
DiagnosticRequest(android.os.Parcel in) |
Modifier and Type | Method and Description |
---|---|
static boolean |
containsRequiredFields(java.util.Set<java.lang.String> fields) |
boolean |
equals(java.lang.Object obj) |
java.lang.Double |
getFrequency() |
boolean |
getMultipleResponses() |
java.lang.String |
getName() |
boolean |
hasFrequency() |
boolean |
hasName() |
protected void |
readFromParcel(android.os.Parcel in) |
void |
setFrequency(java.lang.Double frequency) |
void |
setMultipleResponses(boolean multipleResponses) |
void |
setName(java.lang.String name) |
java.lang.String |
toString() |
void |
writeToParcel(android.os.Parcel out,
int flags) |
getBusId, getId, getKey, getMode, getPayload, getPid, hasPayload, hasPid, setPayload, setPid
setKey
asCanMessage, asCommandResponse, asDiagnosticRequest, asDiagnosticResponse, asEventedMessage, asKeyedMessage, asNamedMessage, asSimpleMessage, compareTo, describeContents, getDate, getExtras, getTimestamp, hasExtras, isTimestamped, setExtras, setTimestamp, timestamp, untimestamp
public static final java.lang.String ADD_ACTION_KEY
public static final java.lang.String CANCEL_ACTION_KEY
public DiagnosticRequest(int busId, int id, int mode)
public DiagnosticRequest(int busId, int id, int mode, int pid)
protected DiagnosticRequest(android.os.Parcel in)
protected DiagnosticRequest()
public void setMultipleResponses(boolean multipleResponses)
public boolean hasFrequency()
public void setFrequency(java.lang.Double frequency)
public void setName(java.lang.String name)
public boolean getMultipleResponses()
public java.lang.Double getFrequency()
public boolean hasName()
public java.lang.String getName()
public static boolean containsRequiredFields(java.util.Set<java.lang.String> fields)
public boolean equals(java.lang.Object obj)
equals
in class DiagnosticMessage
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 DiagnosticMessage
protected void readFromParcel(android.os.Parcel in)
readFromParcel
in class DiagnosticMessage