Class GPSStatusEvent
- java.lang.Object
-
- com.trx.neon.api.neonConstraint.model.events.GPSStatusEvent
-
- All Implemented Interfaces:
android.os.Parcelable
,INeonEventConstraint
public final class GPSStatusEvent extends java.lang.Object implements android.os.Parcelable, INeonEventConstraint
An event that is emitted whenever the internal GPS status changes- See Also:
GPSStatus
-
-
Field Summary
Fields Modifier and Type Field Description static android.os.Parcelable.Creator<GPSStatusEvent>
CREATOR
Used for sending data across bindersGPSStatus
Status
New GPS Statuslong
StatusFlags
Extra GPS Status Flags to indicate sourcelong
UnixTimeMs
Timestamp of the GPS Status change in Unix Time Ms
-
Constructor Summary
Constructors Constructor Description GPSStatusEvent(long unixTimeMs, GPSStatus status, long statusFlags)
Creates a custom constraint
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
describeContents()
java.lang.String
toString()
void
writeToParcel(android.os.Parcel dest, int flags)
-
-
-
Field Detail
-
UnixTimeMs
public final long UnixTimeMs
Timestamp of the GPS Status change in Unix Time Ms
-
StatusFlags
public final long StatusFlags
Extra GPS Status Flags to indicate source
-
CREATOR
public static final android.os.Parcelable.Creator<GPSStatusEvent> CREATOR
Used for sending data across binders
-
-
Constructor Detail
-
GPSStatusEvent
public GPSStatusEvent(long unixTimeMs, GPSStatus status, long statusFlags)
Creates a custom constraint- Parameters:
unixTimeMs
- Unix time in msstatus
- updated GPS statusstatusFlags
- Source information for GPS Status
-
-
Method Detail
-
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
-
-