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 NCLocationListManager *) | - getLocationListManager |
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 37 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 |
+ (nonnull NSString *) getDeviceId |
Method returns persistent device id.
+ (nullable NCNavigineSdk *) getInstance |
Method initializes Navigation library and returns NavigineSdk instance.
- (nullable NCLocationListManager *) getLocationListManager |
Returns a manager that allows to manage locations list
- (nullable NCLocationManager *) getLocationManager |
LocationManager instance, which could be used for working with the Location.
- (nullable NCNavigationManager *) getNavigationManager: | (nullable NCLocationManager *) | locationManager |
NavigationManager instance, which could be used for working with the NCPosition.
locationManager | LocationManager instance |
- (nullable NCNotificationManager *) getNotificationManager: | (nullable NCLocationManager *) | locationManager |
NotificationManager instance, which could be used for working with notifications when detecting beacons. Notification
locationManager | LocationManager instance |
+ (int64_t) getRelativeTime |
Method returns current timestamp.
- (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 |
+ (nonnull NSString *) getVersion |
Method returns NavigineSdk SDK Version.
- (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 |
- (void) setServer: | (nonnull NSString *) | server |
Method is used to set server url.
server | custom server url in format: http[s]://example.com |
- (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 |