metadata
is an NSDictionary
representing a map of string to string types. You can use it to attach any piece of information to this trip. The transportModeHint
is a hint you can give the SDK about the type of transport the trip is (e.g. car, bicycle, etc.).SENTSDKStatus
object to determine the reason. metadata
is a map of string to string types. You can use it to attach any piece of information to this trip. The transportModeHint
is a hint of type TransportMode
you can give the SDK about the type of transport the trip is (e.g. car, bicycle, etc.).StartTripCallback
to the method, you will be notified when a trip is successfully started. If it fails, you can check the SdkStatus
object to determine the reason. stopTrip
as follows:SENTSDKStatus
to determine why. Note that if no trip was ongoing, failure
will be called as well.StopTripCallback
to this method to be notified when the trip is stopped. If stopping the trip fails, you can check the SdkStatus
to determine why. Note that if no trip was ongoing, the onFailure()
method will be called as well.