Provides access to all services in the SDK. More...
Inherits Finalizable.
Public Member Functions | |
void | setUserHash (String userHash) |
Method is used to set USER_HASH from the user's profile in CMS. | |
void | setServer (String server) |
Method is used to set server url. | |
LocationManager | getLocationManager () |
LocationManager instance, which could be used for working with the Location. | |
NavigationManager | getNavigationManager (LocationManager locationManager) |
NavigationManager instance, which could be used for working with the Position. | |
ZoneManager | getZoneManager (NavigationManager navigationManager) |
ZoneManager instance, which could be used for working with zones and detecting enter and leave events. Zone | |
RouteManager | getRouteManager (LocationManager locationManager, NavigationManager navigationManager) |
RouteManager instance, which could be used for working making routes, setting target points. RoutePath | |
AsyncRouteManager | getAsyncRouteManager (LocationManager locationManager, NavigationManager navigationManager) |
AsyncRouteManager instance, which could be used for working with routing sessions. RouteSession | |
NotificationManager | getNotificationManager (LocationManager locationManager) |
NotificationManager instance, which could be used for working with notifications when detecting beacons. Notification | |
LocationListManager | getLocationListManager () |
Static Public Member Functions | |
static NavigineSdk | getInstance () |
Method initializes Navigation library and returns NavigineSdk instance. | |
static String | getVersion () |
Method returns NavigineSdk SDK Version. | |
static String | getDeviceId () |
Method returns persistent device id. | |
static int | 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 navigine_sdk.dart.
AsyncRouteManager NavigineSdk.getAsyncRouteManager | ( | LocationManager | locationManager, |
NavigationManager | navigationManager ) |
AsyncRouteManager instance, which could be used for working with routing sessions. RouteSession
locationManager | LocationManager instance |
navigationManager | NavigationManager instance |
|
static |
Method returns persistent device id.
|
static |
Method initializes Navigation library and returns NavigineSdk instance.
LocationListManager NavigineSdk.getLocationListManager | ( | ) |
Returns a manager that allows to manage locations list
LocationManager NavigineSdk.getLocationManager | ( | ) |
LocationManager instance, which could be used for working with the Location.
NavigationManager NavigineSdk.getNavigationManager | ( | LocationManager | locationManager | ) |
NavigationManager instance, which could be used for working with the Position.
locationManager | LocationManager instance |
NotificationManager NavigineSdk.getNotificationManager | ( | LocationManager | locationManager | ) |
NotificationManager instance, which could be used for working with notifications when detecting beacons. Notification
locationManager | LocationManager instance |
|
static |
Method returns current timestamp.
RouteManager NavigineSdk.getRouteManager | ( | LocationManager | locationManager, |
NavigationManager | navigationManager ) |
RouteManager instance, which could be used for working making routes, setting target points. RoutePath
locationManager | LocationManager instance |
navigationManager | NavigationManager instance |
|
static |
Method returns NavigineSdk SDK Version.
ZoneManager NavigineSdk.getZoneManager | ( | NavigationManager | navigationManager | ) |
ZoneManager instance, which could be used for working with zones and detecting enter and leave events. Zone
navigationManager | NavigationManager instance |
void NavigineSdk.setServer | ( | String | server | ) |
Method is used to set server url.
server | custom server url in format: http[s]://example.com |
void NavigineSdk.setUserHash | ( | String | userHash | ) |
Method is used to set USER_HASH
from the user's profile in CMS.
userHash | auth token in format XXXX-XXXX-XXXX-XXXX |