summaryrefslogtreecommitdiff
path: root/base/src/main/java/com/smartdevicelink/proxy/rpc/OnVehicleData.java
diff options
context:
space:
mode:
Diffstat (limited to 'base/src/main/java/com/smartdevicelink/proxy/rpc/OnVehicleData.java')
-rw-r--r--base/src/main/java/com/smartdevicelink/proxy/rpc/OnVehicleData.java20
1 files changed, 4 insertions, 16 deletions
diff --git a/base/src/main/java/com/smartdevicelink/proxy/rpc/OnVehicleData.java b/base/src/main/java/com/smartdevicelink/proxy/rpc/OnVehicleData.java
index c134eba57..b18fd2c50 100644
--- a/base/src/main/java/com/smartdevicelink/proxy/rpc/OnVehicleData.java
+++ b/base/src/main/java/com/smartdevicelink/proxy/rpc/OnVehicleData.java
@@ -102,7 +102,7 @@ import java.util.List;
* <tr>
* <td>fuelLevel_State</td>
* <td>Boolean</td>
- * <td>The fuel level state. This parameter is deprecated starting RPC Spec 7.0, please seefuelRange.</td>
+ * <td>The fuel level state. This parameter is deprecated starting RPC Spec 7.0, please see fuelRange.</td>
* <td>N</td>
* <td>Subscribable</td>
* <td>SmartDeviceLink 7.0.0</td>
@@ -110,7 +110,7 @@ import java.util.List;
* <tr>
* <td>fuelRange</td>
* <td>Boolean</td>
- * <td>The fuel type, estimated range in KM, fuel level/capacity and fuel level state for thevehicle. See struct FuelRange for details.</td>
+ * <td>The fuel type, estimated range in KM, fuel level/capacity and fuel level state for the vehicle. See struct FuelRange for details.</td>
* <td>N</td>
* <td>{"array_min_size": 0, "array_max_size": 100}</td>
* <td>SmartDeviceLink 5.0.0</td>
@@ -118,7 +118,7 @@ import java.util.List;
* <tr>
* <td>instantFuelConsumption</td>
* <td>Float</td>
- * <td>The instantaneous fuel consumption in microlitres</td>
+ * <td>The instantaneous fuel consumption in micro litres</td>
* <td>N</td>
* <td>Subscribable </td>
* <td>SmartDeviceLink 2.0</td>
@@ -218,7 +218,7 @@ import java.util.List;
* </tr>
* <tr>
* <td>emergencyEvent</td>
- * <td>EmergencyEvernt</td>
+ * <td>EmergencyEvent</td>
* <td>Information related to an emergency event (and if it occurred).</td>
* <td>N</td>
* <td>Subscribable</td>
@@ -390,7 +390,6 @@ public class OnVehicleData extends RPCNotification {
setParameters(KEY_GPS, gps);
return this;
}
- @SuppressWarnings("unchecked")
public GPSData getGps() {
return (GPSData) getObject(GPSData.class, KEY_GPS);
}
@@ -498,7 +497,6 @@ public class OnVehicleData extends RPCNotification {
setParameters(KEY_TIRE_PRESSURE, tirePressure);
return this;
}
- @SuppressWarnings("unchecked")
public TireStatus getTirePressure() {
return (TireStatus) getObject(TireStatus.class, KEY_TIRE_PRESSURE);
}
@@ -513,7 +511,6 @@ public class OnVehicleData extends RPCNotification {
setParameters(KEY_BELT_STATUS, beltStatus);
return this;
}
- @SuppressWarnings("unchecked")
public BeltStatus getBeltStatus() {
return (BeltStatus) getObject(BeltStatus.class, KEY_BELT_STATUS);
}
@@ -521,7 +518,6 @@ public class OnVehicleData extends RPCNotification {
setParameters(KEY_BODY_INFORMATION, bodyInformation);
return this;
}
- @SuppressWarnings("unchecked")
public BodyInformation getBodyInformation() {
return (BodyInformation) getObject(BodyInformation.class, KEY_BODY_INFORMATION);
}
@@ -529,7 +525,6 @@ public class OnVehicleData extends RPCNotification {
setParameters(KEY_DEVICE_STATUS, deviceStatus);
return this;
}
- @SuppressWarnings("unchecked")
public DeviceStatus getDeviceStatus() {
return (DeviceStatus) getObject(DeviceStatus.class, KEY_DEVICE_STATUS);
}
@@ -551,7 +546,6 @@ public class OnVehicleData extends RPCNotification {
setParameters(KEY_HEAD_LAMP_STATUS, headLampStatus);
return this;
}
- @SuppressWarnings("unchecked")
public HeadLampStatus getHeadLampStatus() {
return (HeadLampStatus) getObject(HeadLampStatus.class, KEY_HEAD_LAMP_STATUS);
}
@@ -591,7 +585,6 @@ public class OnVehicleData extends RPCNotification {
setParameters(KEY_E_CALL_INFO, eCallInfo);
return this;
}
- @SuppressWarnings("unchecked")
public ECallInfo getECallInfo() {
return (ECallInfo) getObject(ECallInfo.class, KEY_E_CALL_INFO);
}
@@ -599,7 +592,6 @@ public class OnVehicleData extends RPCNotification {
setParameters(KEY_AIRBAG_STATUS, airbagStatus);
return this;
}
- @SuppressWarnings("unchecked")
public AirbagStatus getAirbagStatus() {
return (AirbagStatus) getObject(AirbagStatus.class, KEY_AIRBAG_STATUS);
}
@@ -607,7 +599,6 @@ public class OnVehicleData extends RPCNotification {
setParameters(KEY_EMERGENCY_EVENT, emergencyEvent);
return this;
}
- @SuppressWarnings("unchecked")
public EmergencyEvent getEmergencyEvent() {
return (EmergencyEvent) getObject(EmergencyEvent.class, KEY_EMERGENCY_EVENT);
}
@@ -615,7 +606,6 @@ public class OnVehicleData extends RPCNotification {
setParameters(KEY_CLUSTER_MODE_STATUS, clusterModeStatus);
return this;
}
- @SuppressWarnings("unchecked")
public ClusterModeStatus getClusterModeStatus() {
return (ClusterModeStatus) getObject(ClusterModeStatus.class, KEY_CLUSTER_MODE_STATUS);
}
@@ -623,7 +613,6 @@ public class OnVehicleData extends RPCNotification {
setParameters(KEY_MY_KEY, myKey);
return this;
}
- @SuppressWarnings("unchecked")
public MyKey getMyKey() {
return (MyKey) getObject(MyKey.class, KEY_MY_KEY);
}
@@ -668,7 +657,6 @@ public class OnVehicleData extends RPCNotification {
* Gets turnSignal
* @return TurnSignal
*/
- @SuppressWarnings("unchecked")
public TurnSignal getTurnSignal() {
return (TurnSignal) getObject(TurnSignal.class, KEY_TURN_SIGNAL);
}