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 | |
| MeasurementManager | getMeasurementManager (LocationManager locationManager) |
| MeasurementManager instance, which could be used for managing measurement generators and handling sensor and signal measurements. | |
| LocationListManager | getLocationListManager () |
| StorageManager | getStorageManager () |
| UserLocationLayer | getUserLocationLayer (LocationWindow locationWindow) |
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 41 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 |
Dart code snippet:
|
static |
Method returns persistent device id.
Dart code snippet:
|
static |
Method initializes Navigation library and returns NavigineSdk instance.
Dart code snippet:
| LocationListManager NavigineSdk.getLocationListManager | ( | ) |
Returns a manager that allows to manage locations list
Dart code snippet:
| LocationManager NavigineSdk.getLocationManager | ( | ) |
LocationManager instance, which could be used for working with the Location.
Dart code snippet:
| MeasurementManager NavigineSdk.getMeasurementManager | ( | LocationManager | locationManager | ) |
MeasurementManager instance, which could be used for managing measurement generators and handling sensor and signal measurements.
| locationManager | LocationManager instance |
Dart code snippet:
| NavigationManager NavigineSdk.getNavigationManager | ( | LocationManager | locationManager | ) |
NavigationManager instance, which could be used for working with the Position.
| locationManager | LocationManager instance |
Dart code snippet:
| NotificationManager NavigineSdk.getNotificationManager | ( | LocationManager | locationManager | ) |
NotificationManager instance, which could be used for working with notifications when detecting beacons. Notification
| locationManager | LocationManager instance |
Dart code snippet:
|
static |
Method returns current timestamp.
Dart code snippet:
| 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 |
Dart code snippet:
| StorageManager NavigineSdk.getStorageManager | ( | ) |
Returns a manager that allows to manage user storages
Dart code snippet:
| UserLocationLayer NavigineSdk.getUserLocationLayer | ( | LocationWindow | locationWindow | ) |
Create layer with the user location icon.
|
static |
Method returns NavigineSdk SDK Version.
Dart code snippet:
| 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 |
Dart code snippet:
| void NavigineSdk.setServer | ( | String | server | ) |
Method is used to set server url.
| server | custom server url in format: http[s]://example.com |
Dart code snippet:
| 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 |
Dart code snippet: