Skip to content

PROTOCOL

IPSLiveNavigationObserver

@objc public protocol IPSLiveNavigationObserver

This class is used to provide live navigation related information.

  • Since: 2.11.0

Methods

onLiveNavigationUpdate(route:)

func onLiveNavigationUpdate(route: IPSRoute)

Invoked every time the IPS navigation engine provides a new live navigation route update.

  • Since: 2.8.0
  • Parameters:
  • route: the route which the user has to follow in order to collect all the way points. See IPSNavigation.setLiveNavigationWaypoints(_:). Note that the route will begin at the last available device position at the time when the request was sent to the engine.

Parameters

Name Description
route the route which the user has to follow in order to collect all the way points. See IPSNavigation.setLiveNavigationWaypoints(_:). Note that the route will begin at the last available device position at the time when the request was sent to the engine.

onLiveNavigationError(_:)

func onLiveNavigationError(_ error: IPSError)

Invoked to inform about errors in the live navigation process.

  • Since: 2.11.0
  • Parameters:
  • error: the error description.

Parameters

Name Description
error the error description.

onLiveNavigationInstructionsUpdate(_:)

@objc optional func onLiveNavigationInstructionsUpdate(_ instructions: [IPSNavigationInstruction])

Experimental API * Please be aware that the following function is considered experimental and subject to potential changes or removal in future updates. * Invoked to inform about navigation instructions in the live navigation process. * * - Since: 4.3.0 * - Parameters: * - instructions: navigation instructions that user can follow during live navigation

onLiveNavigationTurnsUpdate(_:)

@objc optional func onLiveNavigationTurnsUpdate(_ turns: [IPSTurn])

Experimental API * Please be aware that the following function is considered experimental and subject to potential changes or removal in future updates. * Invoked to inform about turns in the live navigation process. * * - Since: 4.3.0 * - Parameters: * - turns: turns that user can follow during live navigation