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, ) → AsyncRouteManager -
AsyncRouteManager instance, which could be used for working with routing sessions. RouteSession
locationManagerLocationManager instancenavigationManagerNavigationManager 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.
locationManagerLocationManager instance Returns MeasurementManager instance -
getMqttSession(
) → MqttSession -
MqttSession instance, which could be used for working with MQTT sessions.
navigationManagerNavigationManager instance Returns MqttSession instance -
NavigationManager instance, which could be used for working with the @see Position.
locationManagerLocationManager instance Returns NavigationManager instance -
getNotificationManager(
LocationManager locationManager) → NotificationManager -
NotificationManager instance, which could be used for working with notifications when detecting beacons. Notification
locationManagerLocationManager instance Returns NotificationManager instance -
getResourceManager(
LocationManager locationManager) → ResourceManager -
Returns a manager that allows to manage resources
1 - download and decode images
2 - managing logs
locationManagerLocationManager instance Returns Resource manager instance -
getRouteManager(
LocationManager locationManager, ) → RouteManager -
RouteManager instance, which could be used for working making routes, setting target points. RoutePath
locationManagerLocationManager instancenavigationManagerNavigationManager 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(
) → ZoneManager -
ZoneManager instance, which could be used for working with zones and detecting enter and leave events. Zone
navigationManagerNavigationManager 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
servercustom server url in format:http[s]://example.com -
setUserHash(
String userHash) → void -
Method is used to set
USER_HASHfrom the user's profile in CMSuserHashauth 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