StartTripCallback
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 startTrip(Map<String, String>, TransportMode, StartTripCallback).
StartTripCallback API
onSuccess()
onSuccess()void onSuccess()Called when a trip is successfully started.
onFailure()
onFailure()void onFailure(@Nullable SdkStatus sdkStatus)Called when a trip start fails. Check the
SdkStatusobject to find out why.
Parameters
sdkStatus
An SdkStatus object containing the current SDK status.
Last updated