Class StillTimeEvent
- java.lang.Object
-
- com.trx.neon.api.neon.model.events.StillTimeEvent
-
- All Implemented Interfaces:
android.os.Parcelable
,INeonEvent
public final class StillTimeEvent extends java.lang.Object implements android.os.Parcelable, INeonEvent
Still Time (counter is reset when sufficient movement is detected)
-
-
Field Summary
Fields Modifier and Type Field Description static android.os.Parcelable.Creator<StillTimeEvent>
CREATOR
Used for sending data across bindersshort
stillTime
long
unixTimeMs
-
Constructor Summary
Constructors Constructor Description StillTimeEvent(long unixTimeMs, short stillTime)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
describeContents()
NeonEventType
getEventType()
java.lang.String
getKey()
java.lang.String
toString()
void
writeToParcel(android.os.Parcel dest, int flags)
-
-
-
Field Detail
-
unixTimeMs
public final long unixTimeMs
-
stillTime
public final short stillTime
-
CREATOR
public static final android.os.Parcelable.Creator<StillTimeEvent> CREATOR
Used for sending data across binders
-
-
Method Detail
-
getKey
public java.lang.String getKey()
- Specified by:
getKey
in interfaceINeonEvent
-
getEventType
public NeonEventType getEventType()
- Specified by:
getEventType
in interfaceINeonEvent
-
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
-
-