Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Internet Explorer alert
This browser is not recommended for use with smartdevicelink.com, and may not function properly. Upgrade to a different browser to guarantee support of all features.
close alert
To Top Created with Sketch. To Top
To Bottom Created with Sketch. To Bottom
Android Documentation
EmergencyEvent

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)

Constructor 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)

Constructor Parameters

emergencyEventType
fuelCutoffStatus
rolloverEvent
maximumChangeVelocity
multipleEvents

Methods

setEmergencyEventType( EmergencyEventType emergencyEventType )

public com.smartdevicelink.proxy.rpc.EmergencyEvent setEmergencyEventType(EmergencyEventType emergencyEventType)

Method Parameters

emergencyEventType

getEmergencyEventType()

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

setFuelCutoffStatus( FuelCutoffStatus fuelCutoffStatus )

public com.smartdevicelink.proxy.rpc.EmergencyEvent setFuelCutoffStatus(FuelCutoffStatus fuelCutoffStatus)

Method Parameters

fuelCutoffStatus

getFuelCutoffStatus()

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

setRolloverEvent( VehicleDataEventStatus rolloverEvent )

public com.smartdevicelink.proxy.rpc.EmergencyEvent setRolloverEvent(VehicleDataEventStatus rolloverEvent)

Method Parameters

rolloverEvent

getRolloverEvent()

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

setMaximumChangeVelocity( Integer maximumChangeVelocity )

public com.smartdevicelink.proxy.rpc.EmergencyEvent setMaximumChangeVelocity(Integer maximumChangeVelocity)

Method Parameters

maximumChangeVelocity

getMaximumChangeVelocity()

public java.lang.Integer getMaximumChangeVelocity()

setMultipleEvents( VehicleDataEventStatus multipleEvents )

public com.smartdevicelink.proxy.rpc.EmergencyEvent setMultipleEvents(VehicleDataEventStatus multipleEvents)

Method Parameters

multipleEvents

getMultipleEvents()

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

Inherited Methods

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