Class VehicleStateEvent
- java.lang.Object
-
- com.trx.neon.api.neon.model.events.VehicleStateEvent
-
- All Implemented Interfaces:
android.os.Parcelable
,INeonEvent
public final class VehicleStateEvent extends java.lang.Object implements android.os.Parcelable, INeonEvent
Represents a change in the user's vehicle state.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VehicleStateEvent.VehicleStateEventType
Motion Levels that the user can take on.
-
Field Summary
Fields Modifier and Type Field Description static android.os.Parcelable.Creator<VehicleStateEvent>
CREATOR
Used for sending data across binders
-
Constructor Summary
Constructors Constructor Description VehicleStateEvent(long unixTimeMs, VehicleStateEvent.VehicleStateEventType type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
describeContents()
NeonEventType
getEventType()
java.lang.String
getKey()
VehicleStateEvent.VehicleStateEventType
getType()
java.lang.String
toString()
void
writeToParcel(android.os.Parcel dest, int flags)
-
-
-
Field Detail
-
CREATOR
public static final android.os.Parcelable.Creator<VehicleStateEvent> CREATOR
Used for sending data across binders
-
-
Constructor Detail
-
VehicleStateEvent
public VehicleStateEvent(long unixTimeMs, VehicleStateEvent.VehicleStateEventType type)
-
-
Method Detail
-
getKey
public java.lang.String getKey()
- Specified by:
getKey
in interfaceINeonEvent
-
getEventType
public NeonEventType getEventType()
- Specified by:
getEventType
in interfaceINeonEvent
-
getType
public VehicleStateEvent.VehicleStateEventType getType()
-
describeContents
public int describeContents()
- Specified by:
describeContents
in interfaceandroid.os.Parcelable
-
writeToParcel
public void writeToParcel(android.os.Parcel dest, int flags)
- Specified by:
writeToParcel
in interfaceandroid.os.Parcelable
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-