NavigineSdk class abstract

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 Note: SDK holds objects by weak references. You need to have strong references to them somewhere in the client code.

Implemented types
Implementers

Constructors

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

createLocationWindow(PlatformView platformView) LocationWindow
getAsyncRouteManager(LocationManager locationManager, NavigationManager navigationManager) AsyncRouteManager
AsyncRouteManager instance, which could be used for working with routing sessions. RouteSession locationManager LocationManager instance navigationManager NavigationManager instance Returns AsyncRouteManager instance
getBeaconProximityEstimator(LocationManager locationManager) BeaconProximityEstimator
getErrorDescription(int errorCode) String
getLocationEditManager(LocationManager locationManager) LocationEditManager
getLocationListManager() LocationListManager
Returns a manager that allows to manage locations list Returns Location list manager instance LocationListManager
getLocationManager() LocationManager
LocationManager instance, which could be used for working with the Location. Returns LocationManager instance
getMeasurementManager(LocationManager locationManager) MeasurementManager
MeasurementManager instance, which could be used for managing measurement generators and handling sensor and signal measurements. locationManager LocationManager instance Returns MeasurementManager instance
getMqttSession(NavigationManager navigationManager) MqttSession
MqttSession instance, which could be used for working with MQTT sessions. navigationManager NavigationManager instance Returns MqttSession instance
getNavigationManager(LocationManager locationManager) NavigationManager
NavigationManager instance, which could be used for working with the @see Position. locationManager LocationManager instance Returns NavigationManager instance
getNotificationManager(LocationManager locationManager) NotificationManager
NotificationManager instance, which could be used for working with notifications when detecting beacons. Notification locationManager LocationManager instance Returns NotificationManager instance
getResourceManager(LocationManager locationManager) ResourceManager
Returns a manager that allows to manage resources 1 - download and decode images 2 - managing logs locationManager LocationManager instance Returns Resource manager instance
getRouteManager(LocationManager locationManager, NavigationManager navigationManager) RouteManager
RouteManager instance, which could be used for working making routes, setting target points. RoutePath locationManager LocationManager instance navigationManager NavigationManager instance Returns RouteManager instance
getStorageManager() StorageManager
Returns a manager that allows to manage user storages Returns Storage manager instance StorageManager
getUserLocationLayer(LocationWindow locationWindow) UserLocationLayer
Create layer with the user location icon.
getZoneManager(NavigationManager navigationManager) ZoneManager
ZoneManager instance, which could be used for working with zones and detecting enter and leave events. Zone navigationManager NavigationManager instance Returns ZoneManager instance
isValid() bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reset() → void
Resets SDK to the initial connection state: default production server URL, empty user hash, and a new session propagated to managers (same effect on session-aware managers as changing server or user hash). Call from the UI thread.
setServer(String server) → void
Method is used to set server url server custom server url in format: http[s]://example.com
setUserHash(String userHash) → void
Method is used to set USER_HASH from the user's profile in CMS userHash auth token in format XXXX-XXXX-XXXX-XXXX
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

getDeviceId() String
Method returns persistent device id. Returns persistent device id
getInstance() NavigineSdk
Method initializes Navigation library and returns NavigineSdk instance. Returns instance of SDK
getRelativeTime() int
Method returns current timestamp. Returns internal timestamp
getUserAgent() String
Method returns current User-Agent string. Returns User-Agent string
getVersion() String
Method returns NavigineSdk SDK Version. Returns version of SDK