Package es.situm.sdk.model.realtime
Class RealTimeData
- java.lang.Object
-
- es.situm.sdk.model.realtime.RealTimeData
-
- All Implemented Interfaces:
android.os.Parcelable
public class RealTimeData extends java.lang.Object implements android.os.Parcelable
Represents the device positions
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RealTimeData.Builder
Builder to create aRealTimeData
instance
-
Field Summary
Fields Modifier and Type Field Description static android.os.Parcelable.Creator<RealTimeData>
CREATOR
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
describeContents()
boolean
equals(java.lang.Object o)
java.util.List<Location>
getLocations()
Returns the device locationsint
hashCode()
java.lang.String
toString()
void
writeToParcel(android.os.Parcel dest, int flags)
-
-
-
Field Detail
-
CREATOR
public static final android.os.Parcelable.Creator<RealTimeData> CREATOR
-
-
Method Detail
-
getLocations
public java.util.List<Location> getLocations()
Returns the device locations- Returns:
- a NonNull list of locations
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
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
-
-