Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Documentation
Sidebar

Class EmergencyEvent

Hierarchy

java.lang.Object
     com.smartdevicelink.proxy.RPCStruct

Package
com.smartdevicelink.proxy.rpc

Overview

Information related to an emergency event (and if it occurred).

Parameter List

Param Name Type Mandatory Description Notes Version Available
emergencyEventType EmergencyEventType References signal "VedsEvntType_D_Ltchd". SeeEmergencyEventType SmartDeviceLink 2.0
fuelCutoffStatus FuelCutoffStatus References signal "RCM_FuelCutoff". SeeFuelCutoffStatus SmartDeviceLink 2.0
rolloverEvent VehicleDataEventStatus References signal "VedsEvntRoll_D_Ltchd". SeeVehicleDataEventStatus SmartDeviceLink 2.0
maximumChangeVelocity Integer References signal "VedsMaxDeltaV_D_Ltchd". minvalue=0; maxvalue=255;

Additional reserved values:

0x00 No event; 0xFE Not supported; 0xFF Fault

SmartDeviceLink 2.0
multipleEvents VehicleDataEventStatus References signal "VedsMultiEvnt_D_Ltchd". SeeVehicleDataEventStatus SmartDeviceLink 2.0

Fields

KEY_EMERGENCY_EVENT_TYPE

public static final java.lang.String KEY_EMERGENCY_EVENT_TYPE
Constant Value
"emergencyEventType"

KEY_FUEL_CUTOFF_STATUS

public static final java.lang.String KEY_FUEL_CUTOFF_STATUS
Constant Value
"fuelCutoffStatus"

KEY_ROLLOVER_EVENT

public static final java.lang.String KEY_ROLLOVER_EVENT
Constant Value
"rolloverEvent"

KEY_MAXIMUM_CHANGE_VELOCITY

public static final java.lang.String KEY_MAXIMUM_CHANGE_VELOCITY
Constant Value
"maximumChangeVelocity"

KEY_MULTIPLE_EVENTS

public static final java.lang.String KEY_MULTIPLE_EVENTS
Constant Value
"multipleEvents"

Inherited Fields

From Class Fields
com.smartdevicelink.proxy.RPCStruct KEY_BULK_DATA, KEY_PROTECTED, store

Constructors

EmergencyEvent()

Constructs a new EmergencyEvent object

public EmergencyEvent()

EmergencyEvent( java.util.Hashtable<java.lang.String, java.lang.Object> hash )

Constructs a new EmergencyEvent object indicated by the Hashtable parameter

public EmergencyEvent(java.util.Hashtable<java.lang.String, java.lang.Object> hash)

Parameters

hash

The hash table to use

EmergencyEvent( EmergencyEventType emergencyEventType, FuelCutoffStatus fuelCutoffStatus, VehicleDataEventStatus rolloverEvent, Integer maximumChangeVelocity, VehicleDataEventStatus multipleEvents )

Constructs a new EmergencyEvent object

public EmergencyEvent(EmergencyEventType emergencyEventType,FuelCutoffStatus fuelCutoffStatus,VehicleDataEventStatus rolloverEvent,Integer maximumChangeVelocity,VehicleDataEventStatus multipleEvents)

Parameters

emergencyEventType
fuelCutoffStatus
rolloverEvent
maximumChangeVelocity
multipleEvents

Methods

setEmergencyEventType( EmergencyEventType emergencyEventType )

public void setEmergencyEventType(EmergencyEventType emergencyEventType)

Parameters

emergencyEventType

getEmergencyEventType()

public com.smartdevicelink.proxy.rpc.enums.EmergencyEventType getEmergencyEventType()

setFuelCutoffStatus( FuelCutoffStatus fuelCutoffStatus )

public void setFuelCutoffStatus(FuelCutoffStatus fuelCutoffStatus)

Parameters

fuelCutoffStatus

getFuelCutoffStatus()

public com.smartdevicelink.proxy.rpc.enums.FuelCutoffStatus getFuelCutoffStatus()

setRolloverEvent( VehicleDataEventStatus rolloverEvent )

public void setRolloverEvent(VehicleDataEventStatus rolloverEvent)

Parameters

rolloverEvent

getRolloverEvent()

public com.smartdevicelink.proxy.rpc.enums.VehicleDataEventStatus getRolloverEvent()

setMaximumChangeVelocity( Integer maximumChangeVelocity )

public void setMaximumChangeVelocity(Integer maximumChangeVelocity)

Parameters

maximumChangeVelocity

getMaximumChangeVelocity()

public java.lang.Integer getMaximumChangeVelocity()

setMultipleEvents( VehicleDataEventStatus multipleEvents )

public void setMultipleEvents(VehicleDataEventStatus multipleEvents)

Parameters

multipleEvents

getMultipleEvents()

public com.smartdevicelink.proxy.rpc.enums.VehicleDataEventStatus getMultipleEvents()

Inherited Methods

From Class Methods
com.smartdevicelink.proxy.RPCStruct getStoreValue, getStore, deserializeJSON, deserializeJSONObject, serializeJSON, serializeJSON, format, getBulkData, setBulkData, setPayloadProtected, isPayloadProtected, getMessageTypeName, hasKey, setValue, getValue, getObject, formatObject, getValueForString, getString, getInteger, getDouble, getFloat, getBoolean, getLong
java.lang.Object getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize
View on GitHub.com
Previous Section Next Section