#import <NMDDashcamSDK.h>
Inherits NSObject.
NMDDashcamSDK is an entry point to the framework functionality.
◆ adasController
Returns instance of the ADAS controller.
◆ cameraController
Returns instance of the camera controller.
◆ destroy
Destroys the SDK. Use this method to stop and deinitialize the SDK.
◆ libraryManager
Returns instance of the library manager.
◆ NS_UNAVAILABLE [1/2]
- (instancetype) NS_UNAVAILABLE |
|
|
|
◆ NS_UNAVAILABLE [2/2]
+ (instancetype) NS_UNAVAILABLE |
|
|
|
◆ pause
Pauses the SDK. Switches off the map rendering and pauses processing.
◆ requestAlwaysAuthorization
- (void) requestAlwaysAuthorization |
|
|
|
When authorization status is not determined, calling this method will trigger a prompt to request "Always" authorization from the user. You must call either this method or requestWhenInUseAuthorization method for Navmii SDK to be able to receive location-related information. For this method to work properly, both NSLocationAlwaysUsageDescription and NSLocationWhenInUseUsageDescription must be specified in the plist file of the app. Once the user makes a choice and determines the authorization status, the navigation service invokes either the listener's NMDDashcamSDKDelegate::onLocationServicesAuthorizationStatusChanged method or the listener's NMDDashcamSDKDelegate::onLocationServicesDidChangeAuthorization depending on the current version of the operating system.
◆ requestWhenInUseAuthorization
- (void) requestWhenInUseAuthorization |
|
|
|
When authorization status is not determined, calling this method will trigger a prompt to request "While Using the App" authorization from the user. You must call either this method or requestAlwaysAuthorization method for Navmii SDK to be able to receive location-related information. The user prompt contains the text from the NSLocationWhenInUseUsageDescription specified in the plist file of the app. Presence of that key in the plist file is required when calling this method. Once the user makes a choice and determines the authorization status, the navigation service invokes either the listener's NMDDashcamSDKDelegate::onLocationServicesAuthorizationStatusChanged method or the listener's NMDDashcamSDKDelegate::onLocationServicesDidChangeAuthorization depending on the current version of the operating system.
◆ resume
Resumes the SDK. Switches on the map rendering and resumes processing.
◆ sharedInstance
◆ version
◆ currentCountry
Provides information about current country. Current country is determined according to the current location.
◆ delegate