Listeners/Callbacks
MOVE Models
Last updated
MOVE Models
Last updated
Triggers whenever the changes.
For android platform it is necessary to start listen explicitly by calling:
Parameter
Triggers whenever the changes.
The host app is expected to monitor updates via authStateUpdateListener
API and handle those changes accordingly.
Check for more details about authentication expiry and renewal.
Parameter
Parameter
Triggers whenever a trip actually starts.
Parameter
Date
The actual start time of the trip.
This triggers whenever a trip is ending, allowing the host app to append metadata along with that trip if needed.
Parameter
Type
start / tripStart
Long / Date
Trip start timestamp / date.
end / tripEnd
Long / Date
Trip end timestamp / date.
Return
A String dictionary of the trip's metadata.
Parameter
Parameter
Parameter
Parameter
Type
error
An error to notify when the configuration could
not be loaded from the server.
Triggers whenever a new log event occurs.
Parameter
Type
log
String
New log event.
value
String
Log value. Optional
The SDK will trigger log messages to improve debugging.
Parameter
results
Latest .
Latest .
Triggers whenever the changes.
Latest .
Triggers whenever changes. represents the current device's system permissions (for / ) and services status.
Latest .
Triggers whenever change.
List of .
Triggers whenever change.
List of .
Represents the potential errors occurring when updating the .
Will be triggered when the was successfully fetched from the server via (Android) / (iOS).
If the MoveConfig object couldn't be fetched from the server then a ServiceUnreachable will be triggered.
Will return the success or failure of the internal MOVE SDK authentication process during . (also see )
Will be triggered during a scan.
List of 's
Will be triggered when the status of a registered changes. This must be previously registered. See chapters "Register Device" (, )
Will be triggered when the health score of the MOVE SDK changes. A (iOS, React Native) / (Android) with the current data is provided.