Skip to content

//sdk-realtime/me.oriient.ipssdk.ips/IPSNavigation

IPSNavigation

[androidJvm]\ open class IPSNavigation

This class represents the Indoor Positioning System (IPS) Navigation Client. It is the element by which all communication with the IPS navigation engine is performed and all services are delivered. The main service is a navigation engine that provides directions for navigating on a map.

Since

2.6.0

Functions

Name Summary
addLiveNavigationListener [androidJvm]
open fun addLiveNavigationListener(@NonNulllistener: IPSLiveNavigationListener)
This method will request the IPS engine to start providing live navigation updates on the IPSLiveNavigationListener.
addTurnByTurnNavigationListener [androidJvm]
open fun addTurnByTurnNavigationListener(@NonNulllistener: IPSTurnByTurnNavigationListener)
This method will request the IPS engine to start providing turn by turn navigation updates on the IPSTurnByTurnNavigationListener.
findRouteInBuilding [androidJvm]
@Nullable
open fun findRouteInBuilding(@NonNullbuildingId: String, @NonNullwaypoints: List<out IPSWaypoint>, @Nullablelistener: IPSRouteListener): IPSCancelable
@Nullable
open fun findRouteInBuilding(@NonNullbuildingId: String, @NonNullwaypoints: List<out IPSWaypoint>, @NullablefinalWaypoint: IPSWaypoint, @Nullablelistener: IPSRouteListener): IPSCancelable
@Nullable
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.
getAngleFromUserHeading [androidJvm]
open fun getAngleFromUserHeading(@NonNullcoordinate: IPSCoordinate): Double
Calculates the angle in degrees between the last accurate user position heading and the provided coordinate.
getFinalLiveNavigationWaypoint [androidJvm]
@Nullable
open fun getFinalLiveNavigationWaypoint(): IPSWaypoint
getLiveNavigationOptions [androidJvm]
@Nullable
open fun getLiveNavigationOptions(): IPSNavigationOptions
getLiveNavigationWayPoints [androidJvm]
@NonNull
open fun getLiveNavigationWayPoints(): List<out IPSWaypoint>
isLiveNavigationEnabled [androidJvm]
open fun isLiveNavigationEnabled(): Boolean
removeLiveNavigationListener [androidJvm]
open fun removeLiveNavigationListener(@NonNulllistener: IPSLiveNavigationListener)
Use this method to stop the listener receiving live navigation updates.
removeTurnByTurnNavigationListener [androidJvm]
open fun removeTurnByTurnNavigationListener(@NonNulllistener: IPSTurnByTurnNavigationListener)
Use this method to stop the listener receiving turn by turn navigation updates.
setFinalLiveNavigationWaypoint [androidJvm]
open fun setFinalLiveNavigationWaypoint(@Nullablewaypoint: IPSWaypoint)
Allows to set the last navigation waypoint.
setLiveNavigationEnabled [androidJvm]
open fun setLiveNavigationEnabled(enabled: Boolean)
Used to disable or re-enable live navigation.
setLiveNavigationOptions [androidJvm]
open fun setLiveNavigationOptions(@Nullableoptions: IPSNavigationOptions)
This method sets the constraints for the routes provided by the live navigation service.
setLiveNavigationWayPoints [androidJvm]
open fun setLiveNavigationWayPoints(@NonNullwayPoints: List<out IPSWaypoint>)
This method sets the locations to which the live navigation service should provide route.
setTurnByTurnNavigationEnabled [androidJvm]
open fun setTurnByTurnNavigationEnabled(enabled: Boolean)
Used to disable or enable turn by turn navigation.