Class AuthenticationEvent
- java.lang.Object
-
- com.trx.neon.api.neon.model.events.AuthenticationEvent
-
- All Implemented Interfaces:
android.os.Parcelable
,INeonEvent
public final class AuthenticationEvent extends java.lang.Object implements android.os.Parcelable, INeonEvent
Represents the last time a resource was connected/disconnected. This can be used to determine server connectivity or tracking unit connectivity in the case of external tracking units.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AuthenticationEvent.AuthenticationEventType
Represents a type of resource that NeonLocationService must maintain a connection with
-
Field Summary
Fields Modifier and Type Field Description static android.os.Parcelable.Creator<AuthenticationEvent>
CREATOR
Used for sending data across binders
-
Constructor Summary
Constructors Constructor Description AuthenticationEvent(long unixTimeMs, AuthenticationEvent.AuthenticationEventType type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
describeContents()
NeonEventType
getEventType()
java.lang.String
getKey()
AuthenticationEvent.AuthenticationEventType
getType()
java.lang.String
toString()
void
writeToParcel(android.os.Parcel dest, int flags)
-
-
-
Field Detail
-
CREATOR
public static final android.os.Parcelable.Creator<AuthenticationEvent> CREATOR
Used for sending data across binders
-
-
Constructor Detail
-
AuthenticationEvent
public AuthenticationEvent(long unixTimeMs, AuthenticationEvent.AuthenticationEventType type)
-
-
Method Detail
-
getType
public AuthenticationEvent.AuthenticationEventType getType()
-
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
-
-