Navmii SDK  2.2.0
Write yourself a navigation system in iOS
Instance Methods | List of all members
<NMNavigationServiceListener> Protocol Reference

Instance Methods

(void) - onGpsStatusChanged:
 
(void) - onLocationServicesAuthorizationStatusChanged:
 
(ios(14.0) - API_AVAILABLE
 
(void) - onGpsPositionChanged:snappedGpsCoordinates:speed:horizontalAccuracy:timeStamp:course:altitude:
 
(void) - onHeadingUpdated:
 
(void) - onNavigationInfoUpdated
 
(void) - onCountryChanged
 
(void) - onDemoRouteStarted
 
(void) - onDemoRouteFinished
 

Method Documentation

◆ API_AVAILABLE()

- (ios(14.0) API_AVAILABLE
optional

Notifies the navigation service listener when the location services authorization status changes.

◆ onCountryChanged()

- (void) onCountryChanged
optional

The event is called when the country of the user's current position changes.

◆ onDemoRouteFinished()

- (void) onDemoRouteFinished
optional

The event is called when demo route simulation finishes.

◆ onDemoRouteStarted()

- (void) onDemoRouteStarted
optional

The event is called when demo route simulation is triggered.

◆ onGpsPositionChanged:snappedGpsCoordinates:speed:horizontalAccuracy:timeStamp:course:altitude:()

- (void) onGpsPositionChanged: (NMMapCoordinates *)  rawGpsCoordinates
snappedGpsCoordinates: (NMMapCoordinates *)  snappedGpsCoordinates
speed: (CGFloat)  speed
horizontalAccuracy: (CGFloat)  horizontalAccuracy
timeStamp: (long long)  timeStamp
course: (CGFloat)  course
altitude: (double)  altitude 
optional

The event is called when user's current position changes from the previous value.

Parameters
rawGpsCoordinatesNew coordinate of the user.
snappedGpsCoordinatesCoordinates snapped to a route.
courseThe course of the GPS position.

◆ onGpsStatusChanged:()

- (void) onGpsStatusChanged: (NMGpsStatus status
optional

The event is called when GPS signal reception changes.

Parameters
statusNew GPS signal reception status represented by NMGpsStatus enum.

◆ onHeadingUpdated:()

- (void) onHeadingUpdated: (CLLocationDirection)  heading
optional

The event is called when user's heading changes from the previous value.

Parameters
headingNew heading of the user.

◆ onLocationServicesAuthorizationStatusChanged:()

- (void) onLocationServicesAuthorizationStatusChanged: ("-onLocationServicesDidChangeAuthorization") 
(ios(8.0, 14.0))  API_DEPRECATED_WITH_REPLACEMENT 
optional

Tells the navigation service listener the authorization status of accessing the location services when the authorization status changes.

Parameters
statusNew location services authoriztion status.

◆ onNavigationInfoUpdated()

- (void) onNavigationInfoUpdated
optional

The event is called when navigation info updates.