StartTripCallback
Last updated
Last updated
This interface is used with startTrip(Map<String, String>, TransportMode, StartTripCallback)
.
onSuccess()
void onSuccess()
Called when a trip is successfully started.
onFailure()
void onFailure(@Nullable SdkStatus sdkStatus)
Called when a trip start fails. Check the
SdkStatus
object to find out why.
sdkStatus
An object containing the current SDK status.