Skip to content

//sdk-realtime/me.oriient.ipssdk.ips/IPSPositioning/setLastKnownPosition

setLastKnownPosition

[androidJvm]\ open fun setLastKnownPosition(@Nullableposition: IPSPosition)

This method sets the last known position property of the IPS SDK. Should be used to provide user position obtained through external sources. This property will be overridden by IPS position updates received on IPSPositioningListener. This position will be used as starting position when calling as the user position in route searches by IPSNavigation (@see findRouteInBuilding, addLiveNavigationListener). Will fail if current PositioningEngineState is POSITIONING_AND_CALIBRATING.

Since

2.10.0

Parameters

androidJvm

position the current position of the user as determined by external sources.