//sdk-realtime/me.oriient.ipssdk.ips/IPSNavigation/findRouteInBuilding
findRouteInBuilding
[androidJvm]\
open fun findRouteInBuilding(@NonNullbuildingId: String, @NonNulloptions: IPSNavigationOptions, @NonNullwaypoints: List<out IPSWaypoint>, @Nullablelistener: IPSRouteListener): IPSCancelable
This method calculates a route to navigate between the IPSWaypoints in the building.
Since
2.11.0
Return
IPSCancelable to cancel the request if necessary or null if not connected. The listener methods will not be called for a canceled request.
Parameters
androidJvm
| buildingId | the ID fo the building in which the route is requested. |
| options | constraints on the requested route. |
| waypoints | the locations through which the route should pass. |
| listener | a listener to receive the navigation route. |
[androidJvm]\
open fun findRouteInBuilding(@NonNullbuildingId: String, @NonNullwaypoints: List<out IPSWaypoint>, @Nullablelistener: IPSRouteListener): IPSCancelable
This method calculates a route to navigate between the IPSWaypoints in the building.
Since
2.11.0
Return
IPSCancelable to cancel the request if necessary or null if not connected. The listener methods will not be called for a canceled request.
Parameters
androidJvm
| buildingId | the ID fo the building in which the route is requested. |
| waypoints | the locations through which the route should pass. |
| listener | a listener to receive the navigation route. |
[androidJvm]\
open fun findRouteInBuilding(@NonNullbuildingId: String, @NonNullwaypoints: List<out IPSWaypoint>, @NullablefinalWaypoint: IPSWaypoint, @Nullablelistener: IPSRouteListener): IPSCancelable
This method calculates a route to navigate between the IPSWaypoints in the building.
Since
5.2.0
Return
IPSCancelable to cancel the request if necessary or null if not connected. The listener methods will not be called for a canceled request.
Parameters
androidJvm
| buildingId | the ID fo the building in which the route is requested. |
| waypoints | the locations through which the route should pass. |
| finalWaypoint | the location that should be visited last |
| listener | a listener to receive the navigation route. |