Provides access to all services in the SDK. More...
#include <com/navigine/idl/objc/NCNavigineSdk.h>
Inherits NSObject.
Instance Methods | |
| (void) | - setUserHash: |
Method is used to set USER_HASH from the user's profile in CMS. | |
| (void) | - setServer: |
| Method is used to set server url. | |
| (nullable NCLocationManager *) | - getLocationManager |
| LocationManager instance, which could be used for working with the Location. | |
| (nullable NCNavigationManager *) | - getNavigationManager: |
| NavigationManager instance, which could be used for working with the NCPosition. | |
| (nullable NCZoneManager *) | - getZoneManager: |
| ZoneManager instance, which could be used for working with zones and detecting enter and leave events. Zone | |
| (nullable NCRouteManager *) | - getRouteManager:navigationManager: |
| RouteManager instance, which could be used for working making routes, setting target points. RoutePath | |
| (nullable NCAsyncRouteManager *) | - getAsyncRouteManager:navigationManager: |
| AsyncRouteManager instance, which could be used for working with routing sessions. RouteSession | |
| (nullable NCNotificationManager *) | - getNotificationManager: |
| NotificationManager instance, which could be used for working with notifications when detecting beacons. Notification | |
| (nullable NCMeasurementManager *) | - getMeasurementManager: |
| MeasurementManager instance, which could be used for managing measurement generators and handling sensor and signal measurements. | |
| (nullable NCLocationListManager *) | - getLocationListManager |
| (nullable NCStorageManager *) | - getStorageManager |
| (nullable NCUserLocationLayer *) | - getUserLocationLayer: |
Class Methods | |
| (nullable NCNavigineSdk *) | + getInstance |
| Method initializes Navigation library and returns NavigineSdk instance. | |
| (nonnull NSString *) | + getVersion |
| Method returns NavigineSdk SDK Version. | |
| (nonnull NSString *) | + getDeviceId |
| Method returns persistent device id. | |
| (int64_t) | + getRelativeTime |
| Method returns current timestamp. | |
Provides access to all services in the SDK.
Class contains a list of static functions for initializing library and list of functions for getting access to the managers, each of which will provide different opportunities for working with SDK
Definition at line 39 of file NCNavigineSdk.h.
| - (nullable NCAsyncRouteManager *) getAsyncRouteManager: | (nullable NCLocationManager *) | locationManager | |
| navigationManager: | (nullable NCNavigationManager *) | navigationManager |
AsyncRouteManager instance, which could be used for working with routing sessions. RouteSession
| locationManager | LocationManager instance |
| navigationManager | NavigationManager instance |
Swift code snippet:
Objective C code snippet:
| + (nonnull NSString *) getDeviceId |
Method returns persistent device id.
Swift code snippet:
Objective C code snippet:
| + (nullable NCNavigineSdk *) getInstance |
Method initializes Navigation library and returns NavigineSdk instance.
Swift code snippet:
Objective C code snippet:
| - (nullable NCLocationListManager *) getLocationListManager |
Returns a manager that allows to manage locations list
Swift code snippet:
Objective C code snippet:
| - (nullable NCLocationManager *) getLocationManager |
LocationManager instance, which could be used for working with the Location.
Swift code snippet:
Objective C code snippet:
| - (nullable NCMeasurementManager *) getMeasurementManager: | (nullable NCLocationManager *) | locationManager |
MeasurementManager instance, which could be used for managing measurement generators and handling sensor and signal measurements.
| locationManager | LocationManager instance |
Swift code snippet:
Objective C code snippet:
| - (nullable NCNavigationManager *) getNavigationManager: | (nullable NCLocationManager *) | locationManager |
NavigationManager instance, which could be used for working with the NCPosition.
| locationManager | LocationManager instance |
Swift code snippet:
Objective C code snippet:
| - (nullable NCNotificationManager *) getNotificationManager: | (nullable NCLocationManager *) | locationManager |
NotificationManager instance, which could be used for working with notifications when detecting beacons. Notification
| locationManager | LocationManager instance |
Swift code snippet:
Objective C code snippet:
| + (int64_t) getRelativeTime |
Method returns current timestamp.
Swift code snippet:
Objective C code snippet:
| - (nullable NCRouteManager *) getRouteManager: | (nullable NCLocationManager *) | locationManager | |
| navigationManager: | (nullable NCNavigationManager *) | navigationManager |
RouteManager instance, which could be used for working making routes, setting target points. RoutePath
| locationManager | LocationManager instance |
| navigationManager | NavigationManager instance |
Swift code snippet:
Objective C code snippet:
| - (nullable NCStorageManager *) getStorageManager |
Returns a manager that allows to manage user storages
Swift code snippet:
Objective C code snippet:
| - (nullable NCUserLocationLayer *) getUserLocationLayer: | (nullable NCLocationWindow *) | locationWindow |
Create layer with the user location icon.
| + (nonnull NSString *) getVersion |
Method returns NavigineSdk SDK Version.
Swift code snippet:
Objective C code snippet:
| - (nullable NCZoneManager *) getZoneManager: | (nullable NCNavigationManager *) | navigationManager |
ZoneManager instance, which could be used for working with zones and detecting enter and leave events. Zone
| navigationManager | NavigationManager instance |
Swift code snippet:
Objective C code snippet:
| - (void) setServer: | (nonnull NSString *) | server |
Method is used to set server url.
| server | custom server url in format: http[s]://example.com |
Swift code snippet:
Objective C code snippet:
| - (void) setUserHash: | (nonnull NSString *) | userHash |
Method is used to set USER_HASH from the user's profile in CMS.
| userHash | auth token in format XXXX-XXXX-XXXX-XXXX |
Swift code snippet:
Objective C code snippet: