Delete Trip (Android)
Explore how to delete a trip on Android with Trips v2.
Last updated
Explore how to delete a trip on Android with Trips v2.
Last updated
You can delete the trip irrespective of any trip state. To delete the trip, you need to use the tripID with Roam.deleteTrip("tripId") method.
You can access the delete trip response parameters below:
response.getCode()
Integer
The success response code of the method.
response.getMessage()
String
The success response message of the method.
response.getDescription()
String
Error response description of the method.
response.getTrip().getTripId()
String
Unique identifier for the object.
response..getTrip().getIsDeleted()
boolean
Boolean value to determine if the trip has been deleted.