Package com.indooratlas.android.sdk
Class IARoute.Point
- java.lang.Object
-
- com.indooratlas.android.sdk.IARoute.Point
-
- All Implemented Interfaces:
Parcelable
,IALatLngFloorCompatible
- Enclosing class:
- IARoute
public static class IARoute.Point extends Object implements IALatLngFloorCompatible, Parcelable
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface android.os.Parcelable
Parcelable.ClassLoaderCreator<T extends Object>, Parcelable.Creator<T extends Object>
-
-
Field Summary
Fields Modifier and Type Field Description static Parcelable.Creator<IARoute.Point>
CREATOR
-
Fields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
describeContents()
boolean
equals(Object o)
int
getFloor()
Get the floor number of theIARoute.Point
double
getLatitude()
Get the latitude of theIARoute.Point
.IALatLngFloor
getLatLngFloor()
double
getLongitude()
Get the longitude of theIARoute.Point
Integer
getNodeIndex()
Get the index of theIARoute.Point
.int
hashCode()
void
writeToParcel(Parcel parcel, int i)
-
-
-
Field Detail
-
CREATOR
public static final Parcelable.Creator<IARoute.Point> CREATOR
-
-
Constructor Detail
-
Point
public Point(double latitude, double longitude, int floorLevel, int id)
Constructor
-
Point
public Point(Parcel in)
-
-
Method Detail
-
getLatitude
public double getLatitude()
Get the latitude of theIARoute.Point
.
-
getLongitude
public double getLongitude()
Get the longitude of theIARoute.Point
-
getFloor
public int getFloor()
Get the floor number of theIARoute.Point
-
getNodeIndex
public Integer getNodeIndex()
Get the index of theIARoute.Point
. This is the zero-based index of the node in the original JSON graph thisIARoute.Point
corresponds to. If this is a virtual wayfinding node, e.g., a starting point of the route outside the original graph, this method returns null.
-
getLatLngFloor
public IALatLngFloor getLatLngFloor()
- Specified by:
getLatLngFloor
in interfaceIALatLngFloorCompatible
-
describeContents
public int describeContents()
- Specified by:
describeContents
in interfaceParcelable
-
writeToParcel
public void writeToParcel(Parcel parcel, int i)
- Specified by:
writeToParcel
in interfaceParcelable
-
-