Provides access to all services in the SDK. More...
Public Member Functions | |
| abstract void | setUserHash (String userHash) |
Method is used to set USER_HASH from the user's profile in CMS. | |
| abstract void | setServer (String server) |
| Method is used to set server url. | |
| abstract LocationManager | getLocationManager () |
| LocationManager instance, which could be used for working with the Location. | |
| abstract NavigationManager | getNavigationManager (LocationManager locationManager) |
| NavigationManager instance, which could be used for working with the com.navigine.idl.java.Position. | |
| abstract ZoneManager | getZoneManager (NavigationManager navigationManager) |
| ZoneManager instance, which could be used for working with zones and detecting enter and leave events. Zone | |
| abstract RouteManager | getRouteManager (LocationManager locationManager, NavigationManager navigationManager) |
| RouteManager instance, which could be used for working making routes, setting target points. RoutePath | |
| abstract AsyncRouteManager | getAsyncRouteManager (LocationManager locationManager, NavigationManager navigationManager) |
| AsyncRouteManager instance, which could be used for working with routing sessions. RouteSession | |
| abstract NotificationManager | getNotificationManager (LocationManager locationManager) |
| NotificationManager instance, which could be used for working with notifications when detecting beacons. Notification | |
| abstract MeasurementManager | getMeasurementManager (LocationManager locationManager) |
| MeasurementManager instance, which could be used for managing measurement generators and handling sensor and signal measurements. | |
| abstract LocationListManager | getLocationListManager () |
| abstract StorageManager | getStorageManager () |
| abstract 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 long | 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 22 of file NavigineSdk.java.
|
abstract |
AsyncRouteManager instance, which could be used for working with routing sessions. RouteSession
| locationManager | LocationManager instance |
| navigationManager | NavigationManager instance |
Java code snippet:
Kotlin code snippet:
|
inlinestatic |
Method returns persistent device id.
Java code snippet:
Kotlin code snippet:
Definition at line 287 of file NavigineSdk.java.
|
inlinestatic |
Method initializes Navigation library and returns NavigineSdk instance.
Java code snippet:
Kotlin code snippet:
Definition at line 249 of file NavigineSdk.java.
|
abstract |
Returns a manager that allows to manage locations list
Java code snippet:
Kotlin code snippet:
|
abstract |
LocationManager instance, which could be used for working with the Location.
Java code snippet:
Kotlin code snippet:
|
abstract |
MeasurementManager instance, which could be used for managing measurement generators and handling sensor and signal measurements.
| locationManager | LocationManager instance |
Java code snippet:
Kotlin code snippet:
|
abstract |
NavigationManager instance, which could be used for working with the com.navigine.idl.java.Position.
| locationManager | LocationManager instance |
Java code snippet:
Kotlin code snippet:
|
abstract |
NotificationManager instance, which could be used for working with notifications when detecting beacons. Notification
| locationManager | LocationManager instance |
Java code snippet:
Kotlin code snippet:
|
inlinestatic |
Method returns current timestamp.
Java code snippet:
Kotlin code snippet:
Definition at line 306 of file NavigineSdk.java.
|
abstract |
RouteManager instance, which could be used for working making routes, setting target points. RoutePath
| locationManager | LocationManager instance |
| navigationManager | NavigationManager instance |
Java code snippet:
Kotlin code snippet:
|
abstract |
Returns a manager that allows to manage user storages
Java code snippet:
Kotlin code snippet:
|
abstract |
Create layer with the user location icon.
|
inlinestatic |
Method returns NavigineSdk SDK Version.
Java code snippet:
Kotlin code snippet:
Definition at line 268 of file NavigineSdk.java.
|
abstract |
ZoneManager instance, which could be used for working with zones and detecting enter and leave events. Zone
| navigationManager | NavigationManager instance |
Java code snippet:
Kotlin code snippet:
|
abstract |
Method is used to set server url.
| server | custom server url in format: http[s]://example.com |
Java code snippet:
Kotlin code snippet:
|
abstract |
Method is used to set USER_HASH from the user's profile in CMS.
| userHash | auth token in format XXXX-XXXX-XXXX-XXXX |
Java code snippet:
Kotlin code snippet: