Skip to content

//sdk-realtime/me.oriient.ipssdk.api.models/IPSRoute

IPSRoute

[androidJvm]\ interface IPSRoute

This class holds all the information needed to instruct the user in the way to collect all the waypoints as requested from the navigation server.

Since

2.8.0

Functions

Name Summary
getDistanceFromStart [androidJvm]
abstract fun getDistanceFromStart(@NonNullwaypointId: String): Double
abstract fun getDistanceFromStart(@NonNullwaypoint: IPSWaypoint): Double
This method will return the distance in meter from the beginning of the route to the provided waypoint as calculated by walking along the route.
[androidJvm]
abstract fun getDistanceFromStart(@NonNulltransition: IPSRouteFloorTransition): Double
This method will return the distance in meter from the beginning of the route to the provided transition as calculated by walking along the route.
getFloorTransitions [androidJvm]
@NonNull
abstract fun getFloorTransitions(): List<out IPSRouteFloorTransition>
The list of floor transitions which should be taken along this navigation route.
getIndexOnRoute [androidJvm]
abstract fun getIndexOnRoute(@NonNullwaypointId: String): Int
abstract fun getIndexOnRoute(@NonNullwaypoint: IPSWaypoint): Int
getRouteCoordinates [androidJvm]
@NonNull
abstract fun getRouteCoordinates(): List<out IPSCoordinateInBuilding>
getWaypoints [androidJvm]
@NonNull
abstract fun getWaypoints(): List<out IPSWaypoint>
Waypoints represent points of interest along the route.
isFloorTransitionOnRoute [androidJvm]
abstract fun isFloorTransitionOnRoute(@NonNulltransition: IPSRouteFloorTransition): Boolean
isWaypointOnRoute [androidJvm]
abstract fun isWaypointOnRoute(@NonNullwaypointId: String): Boolean
abstract fun isWaypointOnRoute(@NonNullwaypoint: IPSWaypoint): Boolean