MotionTag class

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

clearData() → Future<void>
Deletes all stored user data from the SDK.
getUserToken() → Future<String?>
Retrieves the current user token (JWT) or null if not specified yet.
getWifiOnlyDataTransfer() → Future<bool>
Retrieves the wifiOnlyDataTransfer value.
isBatteryOptimizationsEnabled() → Future<bool>
Returns true if the Battery Optimizations is enabled, false otherwise. Always returns false on iOS.
isPowerSaveModeEnabled() → Future<bool>
Returns true if the Power save mode is enabled, false otherwise. Always returns false on iOS.
isTrackingActive() → Future<bool>
Returns true if the tracking is active and collecting data, false otherwise.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setObserver(void observer(MotionTagEvent event)?) → void
Registers observer to receive MotionTagEvent
setUserToken(String userToken) → Future<void>
Updates the user token (JWT).
setWifiOnlyDataTransfer(bool wifiOnlyDataTransfer) → Future<void>
Updates the wifiOnlyDataTransfer value.
start() → Future<void>
Starts tracking.
stop() → Future<void>
Stops tracking.
toString() → String
A string representation of this object.
inherited

Operators

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

Static Properties

instance → MotionTag
final