Navmii SDK
2.2.0
Write yourself a navigation system in iOS
|
Inherits <NSObject>.
Instance Methods | |
(void) | - startWithSettings: |
(void) | - destroy |
(void) | - pause |
(void) | - resume |
(void) | - pauseGraphics |
(void) | - resumeGraphics |
(void) | - clearMapCacheOnDisk |
(void) | - clearLogs |
(void) | - addSdkStateChangeListener: |
(void) | - removeSdkStateChangeListener: |
Class Methods | |
(NSString *) | + version |
NMSdk class provides abbility to start, pause, resume and destroy the SDK. Also this class provides access to main parts of the SDK: mapService, routingService, searchService, navigationService, trafficService, routeVisualizer and routeNavigator.
- (void) addSdkStateChangeListener: | (addSdkStateChangeListener(listener:)) | NS_SWIFT_NAME |
Adds listener to the list of SDK state change listeners.
- (void) clearLogs |
Clears all logging files stored on disk.
- (void) clearMapCacheOnDisk |
Clears map cache data. @discussion Use this method to remove all the data cached on disk when using online maps.
- (void) destroy |
Destroys the SDK. @discussion Use this method to stop and deinitialize the SDK. Use onSdkDestroyed method of NMSdkStateChangeListener to know when the SDK has been destroyed.
- (void) pause |
Pauses the SDK. Switches off the map rendering and pauses processing. @discussion Use onSdkPaused method of NMSdkStateChangeListener to know when the SDK has been paused.
- (void) pauseGraphics |
Switches off the map rendering.
- (void) removeSdkStateChangeListener: | (removeSdkStateChangeListener(listener:)) | NS_SWIFT_NAME |
Removes listener from the list of SDK state change listeners.
- (void) resume |
Resumes the SDK. Switches on the map rendering and resumes processing. @discussion Use onSdkResumed method of NMSdkStateChangeListener to know when the SDK has been resumed.
- (void) resumeGraphics |
Switches on the map rendering if it is paused.
- (void) startWithSettings: | (nullable NMConfigurationSettings *) | settings |
Starts the SDK. @discussion Use this method to initialize the SDK. The process of initialization is asynchronous. If you have attached a listener to NMSdk (via addSdkStateChangeListener: method) use onSdkStarted and onSdkIsFailedToStart: methods of NMSdkStateChangeListener to know when initialization has been finished.
settings | Configuration settings. |
+ (NSString *) version |
|
readwritenonatomicweak |
An NMMapView which is currently used to render the map.
@discussion The SDK doesn't retain the view, so you should carefully manage this property to prevent the SDK rendering into the deallocated view.
|
readnonatomiccopy |
API key from application plist.
|
readnonatomicstrong |
Instance of the map service. nil if the SDK isn't started.
|
readnonatomicstrong |
Instance of the navigation service. nil if the SDK isn't started.
|
readnonatomicstrong |
Instance of the POI category helper. nil if the SDK isn't started.
|
readnonatomicstrong |
Instance of the route navigator. nil if SDK isn't started.
|
readnonatomicstrong |
Instance of the route visualizer. nil if SDK isn't started.
|
readnonatomicstrong |
Instance of the routing service. nil if SDK isn't started.
|
readnonatomicstrong |
Instance of the search service. nil if the SDK isn't started.
|
readnonatomicassign |
Current state of the SDK.
|
readnonatomicstrong |
Instance of the traffic service. nil if SDK isn't started.