StopTripCallback
Last updated
Last updated
This document refers to deprecated parts of the platform and has been left intact to help customers with legacy integrations. In order to access the latest platform features and documentation, please go to https://docs.sentiance.com.
This interface is used with stopTrip(StopTripCallback)
.
onSuccess()
Called when an external trip is successfully stopped.
onFailure()
Called when a trip stop fails. Check the
SdkStatus
object to find out why.This method is also called when
stopTrip(StopTripCallback)
is called while no external trip exists. To check if there is an ongoing external trip, callisTripOngoing()
.
sdkStatus
An object containing the current SDK status.