public interface Trip
TripManager
APIs.
This interface contains all information relating to a Trip, a trip has a start and a destination,
and represents a planned Trip on the device. A trip can be re-planned, due to for example; traffic,
or deviations from the trip. However, the Trip is considered to be the same Trip unless any direct
re-plans have been requested, or any waypoints have been added and/or removed from the Trip.
To compare Trip objects, use the Object.equals(Object)
method, as for example
the latitude and longitude can change to be map-matched during a trip-plan, but the Trip is still the same.
Current limitations:
Modifier and Type | Interface and Description |
---|---|
static interface |
Trip.AlternativeSpeedLimitListener
Listener to receive information about alternative speed limit.
|
static interface |
Trip.EtaListener
Listener to receive ETA information for a specific waypoint.
|
static interface |
Trip.InfoListener
Listener to receive information about the Trip.
|
static interface |
Trip.Listener
Listener to receive information about the Active Trip.
|
static interface |
Trip.PlanListener
Listener to receive information about the result of the Trip planning.
|
static class |
Trip.PlanResult
Result codes for Trip planning see
Trip.PlanListener . |
static interface |
Trip.ProgressListener
Listener to receive information about the progress of the currently active Trip.
|
static class |
Trip.RequestError
Error codes for a request.
|
static class |
Trip.SpeedLimitResult
Result for set/clear speed limit
|
static class |
Trip.SpeedShieldLuminance
Speed limit shield luminance values
|
static class |
Trip.SpeedShieldShape
Speed limit shield shapes
|
static interface |
Trip.WaypointsListListener
Listener to receive information about the list of waypoints.
|
Modifier and Type | Method and Description |
---|---|
Routeable |
getDestination()
Get the current destination of the Trip object.
|