#import <NMDDashcamSDKDelegate.h>
Inherits <NSObject>.
◆ onGpsPositionChanged:snappedGpsCoordinates:speed:horizontalAccuracy:timeStamp:course:altitude:
- (void) onGpsPositionChanged: |
|
(CLLocationCoordinate2D) |
rawGpsCoordinates |
snappedGpsCoordinates: |
|
(CLLocationCoordinate2D) |
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
-
rawGpsCoordinates | New coordinate of the user. |
snappedGpsCoordinates | Coordinates snapped to a route. |
speed | Speed in km/h. |
horizontalAccuracy | The horizontal accuracy of the GPS position. |
timeStamp | The time stamp of the GPS position. |
course | The course of the GPS position. |
altitude | The altitude of the GPS position. |
◆ onGpsStatusChanged:
The event is called when GPS signal reception status changes.
- Parameters
-
status | New GPS signal reception status represented by NMDGPSStatus enum. |
◆ onLocationServicesAuthorizationStatusChanged:
- (void) onLocationServicesAuthorizationStatusChanged: |
|
("-onLocationServicesDidChangeAuthorization:") |
|
|
|
(ios(8.0, 14.0)) |
API_DEPRECATED_WITH_REPLACEMENT |
|
|
| |
|
optional |
Notifies the delegate that the location services authorization status has changed.
- Parameters
-
status | New location services authoriztion status. |
◆ onLocationServicesDidChangeAuthorization:
- (void) onLocationServicesDidChangeAuthorization: |
|
(ios(14.0)) |
API_AVAILABLE |
|
|
optional |
Notifies the delegate that the location services authorization status has changed.
- Parameters
-
authorizationStatus | New location services authoriztion status. |
◆ sdkInitializationFailedWithError:
- (void) sdkInitializationFailedWithError: |
|
(NSError *) |
error |
|
|
optional |
Notifies the delegate that SDK hasn't been initialized properly.
- Parameters
-
error | Contains description of the problem. |
◆ sdkInitializedSuccessfully
- (void) sdkInitializedSuccessfully |
|
|
|
|
optional |
Notifies the delegate that SDK has been initialized successfully and is ready to use.