Skip to content

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

stopPositioning

[androidJvm]\ open fun stopPositioning(@Nullablelistener: IPSCompletionListener)

This method will request the IPS engine to stop providing position updates on the IPSPositioningListener. The request will result in an error if the IPSCore.ConnectionState is OFFLINE. If the PositioningEngineState is not POSITIONING_AND_CALIBRATING, the request will succeed immediately and will do nothing. After a request has been successfully sent, the PositioningEngineState will change to IDLE.

Since

2.10.0

Parameters

androidJvm

listener a listener for receiving the request completion status.

[androidJvm]\ open fun stopPositioning(@NonNullreason: String, @Nullablelistener: IPSCompletionListener)

This method will request the IPS engine to stop providing position updates on the IPSPositioningListener. The request will result in an error if the IPSCore.ConnectionState is OFFLINE. If the PositioningEngineState is not POSITIONING_AND_CALIBRATING, the request will succeed immediately and will do nothing. After a request has been successfully sent, the PositioningEngineState will change to IDLE.

Since

3.1.0

Parameters

androidJvm

reason the reason to stop current positioning session.
listener a listener for receiving the request completion status.