Class provides a callback to be invoked when NavigationManager updates the position of the device. More...
#include <com/navigine/idl/objc/NCPositionListener.h>
Inheritance diagram for <NCPositionListener>:Instance Methods | |
| (void) | - onPositionUpdated: |
| Called when new position has been calculated. | |
| (void) | - onPositionError: |
| Called if unable to calculate user's position. | |
Class provides a callback to be invoked when NavigationManager updates the position of the device.
Referenced from NavigationManager RouteManager.
Definition at line 20 of file NCPositionListener.h.
| - (void) onPositionError: | (nullable NSError *) | error |
Called if unable to calculate user's position.
| error | handled error. |
Swift code snippet:
Objective C code snippet:
| - (void) onPositionUpdated: | (nonnull NCPosition *) | position |
Called when new position has been calculated.
| position | current user Position. |
Swift code snippet:
Objective C code snippet: