Loading...
Searching...
No Matches
<NCPositionListener> Protocol Reference

Class provides a callback to be invoked when NavigationManager updates the position of the device. More...

#include <com/navigine/idl/objc/NCPositionListener.h>

Inherits <NSObject>.

Instance Methods

(void) - onPositionUpdated:
 Called when new position has been calculated.
 
(void) - onPositionError:
 Called if unable to calculate user's position.
 

Detailed Description

Class provides a callback to be invoked when NavigationManager updates the position of the device.

Referenced from NavigationManager RouteManager.

Note
The callback is invoked in the UI thread.

Definition at line 20 of file NCPositionListener.h.

Method Documentation

◆ onPositionError:

- (void) onPositionError: (nullable NSError *) error

Called if unable to calculate user's position.

Parameters
errorhandled error.

◆ onPositionUpdated:

- (void) onPositionUpdated: (nonnull NCPosition *) position

Called when new position has been calculated.

Parameters
positioncurrent user Position.

The documentation for this protocol was generated from the following file: