Error class
code ErrorCodes.locationPermissionDenied
-
type: ErrorType.critical.
-
CAUSE: Location permissions were not granted yet, so SDK won't be able to start positioning. The permissions needed to fix this error are:
- ACCESS_FINE_LOCATION (Android)
- NSLocationWhenInUseUsageDescription (iOS)
code ErrorCodes.bluetoothPermissionDenied
-
(Android only)
-
type: ErrorType.critical.
-
CAUSE: BLUETOOTH_CONNECT or BLUETOOTH_SCAN are not granted yet, so SDK won't be able to start positioning.
code ErrorCodes.bluetoothDisabled
-
type: ErrorType.critical for iOS but ErrorType.nonCritical for Android.
-
CAUSE: The bluetooth sensor of the device is off, so iOS will stop positioning and Android won't give a precise location as with this sensor on.
code ErrorCodes.locationDisabled
-
type: ErrorType.critical.
-
CAUSE: The location service is disabled, so SDK won't be able to start positioning.
There are other errors that we throw directly as we receive them from Android and iOS.
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited