Dashcam SDK 1.0.7
Captures, recognizes and records road aigns.
Loading...
Searching...
No Matches
Instance Methods | Class Methods | Properties | List of all members
NMDDashcamSDK Class Reference

#import <NMDDashcamSDK.h>

Inherits NSObject.

Instance Methods

(instancetype) - NS_UNAVAILABLE
 
(NMDADASController *) - adasController
 
(NMDCameraController *) - cameraController
 
(NMDLibraryManager *) - libraryManager
 
(void) - requestWhenInUseAuthorization
 
(void) - requestAlwaysAuthorization
 
(void) - destroy
 
(void) - pause
 
(void) - resume
 

Class Methods

(NSString *) + version
 
(instancetype) + NS_UNAVAILABLE
 
(NMDDashcamSDK *) + sharedInstance
 

Properties

id< NMDDashcamSDKDelegatedelegate
 
NMDCountrycurrentCountry
 

Detailed Description

NMDDashcamSDK is an entry point to the framework functionality.

Method Documentation

◆ adasController

- (NMDADASController *) adasController

Returns instance of the ADAS controller.

◆ cameraController

- (NMDCameraController *) cameraController

Returns instance of the camera controller.

◆ destroy

- (void) destroy

Destroys the SDK. Use this method to stop and deinitialize the SDK.

◆ libraryManager

- (NMDLibraryManager *) libraryManager

Returns instance of the library manager.

◆ NS_UNAVAILABLE [1/2]

- (instancetype) NS_UNAVAILABLE

Use sharedInstance method to obtain an instance of this class.

◆ NS_UNAVAILABLE [2/2]

+ (instancetype) NS_UNAVAILABLE

Use sharedInstance method to obtain an instance of this class.

◆ pause

- (void) 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

- (void) resume

Resumes the SDK. Switches on the map rendering and resumes processing.

◆ sharedInstance

+ (NMDDashcamSDK *) sharedInstance

Returns instance of the NMDDashcamSDK.

◆ version

+ (NSString *) version

Returns version of NMDDashcamSDK framework.

Property Documentation

◆ currentCountry

- (NMDCountry*) currentCountry
readwritenonatomicstrong

Provides information about current country. Current country is determined according to the current location.

◆ delegate

- (id<NMDDashcamSDKDelegate>) delegate
readwritenonatomicweak