Get Trip (iOS)

Explore how to get the details of a trip on iOS with Trips v2.

To get the details of the trip anytime, you can use the Roam.getTrip("tripId") method by passing the tripId.

Roam.getTrip("tripId") { response, error in
    // Access trip response and error here
}

The trip response and its parameters are similar to those of the createTrip() method.

There's no need to exclusively specify if the trip is local or not using a boolean value. The getTrip()method will check that for you and update the trip details accordingly.

Last updated