Listeners/Callbacks
Last updated
Last updated
Triggers if MoveConfigurationError occurs on initialization (Android/iOS).
Triggers whenever the MoveSDKState changes.
Set an SDK State listener usingsetSDKStateListener
(Android/iOS) API to anticipate handling the SDK State changes, start detection services when MoveSDKState is .ready
or handle.error
if occurred.
Triggers whenever the MoveAuthState changes.
The host app is expected to monitor MoveAuthState updates viaauthStateUpdateListener
(Android / iOS) API and handle those changes accordingly.
Check Authentication updates and expiry for more details about authentication expiry and renewal.
Triggers whenever the MoveTripState changes.
Triggers whenever a trip is ending, for the host app to append metadata along with that trip if needed.
Triggers whenever MoveDeviceStatus changes.
Triggers whenever a new log event occurs.
Parameter
Potiential MoveConfigurationError on initilazation (Android/iOS).
Parameter
Latest MoveSDKState.
Parameter
Latest MoveAuthState.
Parameter
Latest MoveTripState.
Parameter
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
Latest MoveDeviceStatus.
Parameter
log
String
New log event.