Skip to content

ENUM

IPSPositioning.PositioningEngineState

@objc public enum PositioningEngineState: Int

This enum represents the state of the IPS engine. A call to IPSPositioning.startPositioning(from:_:) is necessary to start the positioning process.
Use IPSPositioning.addPositioningObserver(_:) to receive state change updates in real time or IPSPositioning.getPositioningEngineState() to get the current state.

  • Since: 2.10.0

Cases

idle

case idle = 0

When IPSCore.ConnectionState is IPSCore.ConnectionState.online, the engine is idle and ready to receive IPSPositioning.startPositioning(from:_:) requests.

  • Since: 2.10.0

calibrating

case calibrating = 1

The engine is currently providing calibration progress updates on IPSPositioningObserver.onCalibrationProgress(_:).

  • Since: 2.10.0

positioningAndCalibrating

case positioningAndCalibrating = 2

The engine is currently providing position updates on IPSPositioningObserver.onPositionUpdate(_:) and calibration updates on IPSPositioningObserver.onCalibrationProgress(_:).

  • Since: 2.10.0