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 intdescribeContents()booleanequals(Object o)intgetFloor()Get the floor number of theIARoute.PointdoublegetLatitude()Get the latitude of theIARoute.Point.IALatLngFloorgetLatLngFloor()doublegetLongitude()Get the longitude of theIARoute.PointIntegergetNodeIndex()Get the index of theIARoute.Point.inthashCode()voidwriteToParcel(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.Pointcorresponds 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:
getLatLngFloorin interfaceIALatLngFloorCompatible
-
describeContents
public int describeContents()
- Specified by:
describeContentsin interfaceParcelable
-
writeToParcel
public void writeToParcel(Parcel parcel, int i)
- Specified by:
writeToParcelin interfaceParcelable
-
-