/tripkit/CommonCoreLegacy/com.skedgo.tripkit.routing/TripGroup/addAsDisplayTrip
addAsDisplayTrip
\ fun addAsDisplayTrip(trip: Trip)
A sample use case: Add a trip computed by waypoint API into trip list.
Parameters
androidJvm
trip | This trip must not belong to group's trips. Otherwise, IllegalStateException will be thrown. |
Throws
IllegalStateException | if the trip already belongs to the group. To change display trip, should invoke TripGroup.changeDisplayTrip instead. |