Package com. citymapper. sdk. core. transit
Types
Identifies the ancestor result for a Route. Two Routes have the same identifier if they are descendants from the same original routing result, even if they now have different signatures. This allows treating updates to a Route (for example, due to re-routing events) as the "same" route from a user-facing point of view
A leg where the user drives or rides a vehicle which they hire at the start of the leg, represented by the service.
A leg where the user drives or rides a vehicle of their own
A leg where the user drives or rides a vehicle themselves e.g. e-scooters, bicycles, motor scooters, private automobiles
A leg of a Journey involving taking transit. This leg usually represents a specific departure, but may include some information about alternative routes which may be taken.
A leg which involves using a vehicle to travel
A walking leg
Functions
Retrieve an image asset for the specified criteria
Retrieve a brand image asset for the specified criteria
Retrieve a service image asset for the specified criteria