FlutterAIIndoorNavigationSDK class abstract

Properties

bluetoothPipeResult ValueNotifier<FlutterBluetoothPipeResult?>
no setter
currentLocation ValueNotifier<FlutterCombainLocation?>
The current location determined by sdk. This will update after each new scan The value can be used directly with ValueNotifier.value You can either attach a on change listener like this: Example:
getter/setter pair
currentModelId ValueNotifier<int?>
no setter
currentRoute IndoorNavigationRoute?
The current route if being routed
no setter
hashCode int
The hash code for this object.
no setterinherited
localLookupPipeResult ValueNotifier<FlutterLocalLookupPipeResult?>
Pipes: The latest pipe result. Updated after each scan Null if no scan has been done yet
no setter
nextScanTime ValueNotifier<DateTime>
The time when the next scan will be done This is updated after each scan is done
no setter
running ValueNotifier<bool>
If the SDK is currently running If it is not running, it will not update the location and no scans will be preformed
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
wifiPipeResult ValueNotifier<FlutterWifiPipeResult?>
no setter

Methods

getAllBuildings() Future<List<FlutterBuilding>>
getBuilding(int id) Future<FlutterBuilding?>
Get information about the building
getLastSyncTime() Future<DateTime?>
getModelByBuilding(FlutterBuilding building) Future<FlutterPositioningModel>
getModelEvaluationResult() Future<List<FlutterModelEvaluationResult>>
Returns the confidence score for all buildings and their model The confidence score represents how sure we are that they are in the building
getPermissionManager() FlutterPermissionManager
The permission manager Useful to check if permissions are granted and ask for permissions
getRoutingProvider() FlutterRoutingProvider
The routing provider
getSdkVersion() Future<String>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
start() Future<void>
Start the location provider This will start the location updates If permission dialog has not been shown it will be shown now If the user has permanently denied the permission this will not work see getPermissionManager for more info
stop() Future<void>
Stop the location provider Can be started again with start see start
stopRoutingUpdates() → void
Stops receiving routing updates, call this when you are done with routing for performance
syncData(int from) Future<void>
Syncs the data from the server to the local database This is done automatically depending on syncingInterval defined in the config NativeAIIndoorNavigationSDKConfig
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

syncProgress ValueNotifier<double>
A double that represents the progress of the syncing 0.0 is not started 1.0 is done
getter/setter pair