public class AirbagStatus extends RPCStruct
The status of the air bags.
Parameter List
| Name | Type | Description | SmartDeviceLink Version. |
|---|---|---|---|
| driverAirbagDeployed | VehicleDataEventStatus | Status of driver airbag. | SmartDeviceLink 1.0 |
| driverSideAirbagDeployed | VehicleDataEventStatus | Status of driver side airbag. | SmartDeviceLink 1.0 |
| driverCurtainAirbagDeployed | VehicleDataEventStatus | Status of driver curtain airbag. | SmartDeviceLink 1.0 |
| passengerAirbagDeployed | VehicleDataEventStatus | Status of passenger airbag. | SmartDeviceLink 1.0 |
| passengerCurtainAirbagDeployed | VehicleDataEventStatus | Status of passenger curtain airbag. | SmartDeviceLink 1.0 |
| driverKneeAirbagDeployed | VehicleDataEventStatus | Status of driver knee airbag. | SmartDeviceLink 1.0 |
| passengerSideAirbagDeployed | VehicleDataEventStatus | Status of passenger side airbag. | SmartDeviceLink 1.0 |
| passengerKneeAirbagDeployed | VehicleDataEventStatus | Status of passenger knee airbag | SmartDeviceLink 1.0 |
Response:
If a resultCode of "SUCCESS" is returned, the request was accepted by SDL. By the time the corresponding response is received, the Alert will have completed.Non-default Result Codes:
REJECTED
ABORTED
Image,
SubscribeVehicleData| Modifier and Type | Field and Description |
|---|---|
static String |
KEY_DRIVER_AIRBAG_DEPLOYED |
static String |
KEY_DRIVER_CURTAIN_AIRBAG_DEPLOYED |
static String |
KEY_DRIVER_KNEE_AIRBAG_DEPLOYED |
static String |
KEY_DRIVER_SIDE_AIRBAG_DEPLOYED |
static String |
KEY_PASSENGER_AIRBAG_DEPLOYED |
static String |
KEY_PASSENGER_CURTAIN_AIRBAG_DEPLOYED |
static String |
KEY_PASSENGER_KNEE_AIRBAG_DEPLOYED |
static String |
KEY_PASSENGER_SIDE_AIRBAG_DEPLOYED |
KEY_BULK_DATA, KEY_PROTECTED, store| Constructor and Description |
|---|
AirbagStatus() |
AirbagStatus(Hashtable<String,Object> hash)
Constructs a new AirbagStatus object indicated by the Hashtable
parameter
|
AirbagStatus(VehicleDataEventStatus driverAirbagDeployed,
VehicleDataEventStatus driverSideAirbagDeployed,
VehicleDataEventStatus driverCurtainAirbagDeployed,
VehicleDataEventStatus driverKneeAirbagDeployed,
VehicleDataEventStatus passengerCurtainAirbagDeployed,
VehicleDataEventStatus passengerAirbagDeployed,
VehicleDataEventStatus passengerSideAirbagDeployed,
VehicleDataEventStatus passengerKneeAirbagDeployed) |
clone, deserializeJSON, equals, format, formatObject, getBoolean, getBulkData, getDouble, getFloat, getInteger, getLong, getMessageTypeName, getObject, getStore, getStoreValue, getString, getValue, getValueForString, hashCode, hasKey, isPayloadProtected, serializeJSON, serializeJSON, setBulkData, setPayloadProtected, setValuepublic static final String KEY_DRIVER_AIRBAG_DEPLOYED
public static final String KEY_DRIVER_SIDE_AIRBAG_DEPLOYED
public static final String KEY_DRIVER_CURTAIN_AIRBAG_DEPLOYED
public static final String KEY_DRIVER_KNEE_AIRBAG_DEPLOYED
public static final String KEY_PASSENGER_AIRBAG_DEPLOYED
public static final String KEY_PASSENGER_SIDE_AIRBAG_DEPLOYED
public static final String KEY_PASSENGER_CURTAIN_AIRBAG_DEPLOYED
public static final String KEY_PASSENGER_KNEE_AIRBAG_DEPLOYED
public AirbagStatus()
public AirbagStatus(Hashtable<String,Object> hash)
hash - hashtable filled with params to create an instance of this RPC
The hash table to usepublic AirbagStatus(@NonNull
VehicleDataEventStatus driverAirbagDeployed,
@NonNull
VehicleDataEventStatus driverSideAirbagDeployed,
@NonNull
VehicleDataEventStatus driverCurtainAirbagDeployed,
@NonNull
VehicleDataEventStatus driverKneeAirbagDeployed,
@NonNull
VehicleDataEventStatus passengerCurtainAirbagDeployed,
@NonNull
VehicleDataEventStatus passengerAirbagDeployed,
@NonNull
VehicleDataEventStatus passengerSideAirbagDeployed,
@NonNull
VehicleDataEventStatus passengerKneeAirbagDeployed)
public AirbagStatus setDriverAirbagDeployed(@NonNull VehicleDataEventStatus driverAirbagDeployed)
public VehicleDataEventStatus getDriverAirbagDeployed()
public AirbagStatus setDriverSideAirbagDeployed(@NonNull VehicleDataEventStatus driverSideAirbagDeployed)
public VehicleDataEventStatus getDriverSideAirbagDeployed()
public AirbagStatus setDriverCurtainAirbagDeployed(@NonNull VehicleDataEventStatus driverCurtainAirbagDeployed)
public VehicleDataEventStatus getDriverCurtainAirbagDeployed()
public AirbagStatus setPassengerAirbagDeployed(@NonNull VehicleDataEventStatus passengerAirbagDeployed)
public VehicleDataEventStatus getPassengerAirbagDeployed()
public AirbagStatus setPassengerCurtainAirbagDeployed(@NonNull VehicleDataEventStatus passengerCurtainAirbagDeployed)
public VehicleDataEventStatus getPassengerCurtainAirbagDeployed()
public AirbagStatus setDriverKneeAirbagDeployed(@NonNull VehicleDataEventStatus driverKneeAirbagDeployed)
public VehicleDataEventStatus getDriverKneeAirbagDeployed()
public AirbagStatus setPassengerSideAirbagDeployed(@NonNull VehicleDataEventStatus passengerSideAirbagDeployed)
public VehicleDataEventStatus getPassengerSideAirbagDeployed()
public AirbagStatus setPassengerKneeAirbagDeployed(@NonNull VehicleDataEventStatus passengerKneeAirbagDeployed)
public VehicleDataEventStatus getPassengerKneeAirbagDeployed()