OnRouteChangedEvent

public abstract class OnRouteChangedEvent extends Object

Event that triggers when a new route is estabilished over a previously existing route that is still active

Nested Class Summary

class OnRouteChangedEvent.Builder Builder for OnRouteChangedEvent  

Public Constructor Summary

Public Method Summary

static OnRouteChangedEvent.Builder
newBuilder()
Returns new default instance builder.
abstract ImmutableList<RouteToVehicleStop>
newRoute()
The new route that was loaded.
abstract ImmutableList<RouteToVehicleStop>
previousRoute()
The previous route known by the SDK.

Inherited Method Summary

Public Constructors

public OnRouteChangedEvent ()

Public Methods

public static OnRouteChangedEvent.Builder newBuilder ()

Returns new default instance builder.

public abstract ImmutableList<RouteToVehicleStop> newRoute ()

The new route that was loaded.

public abstract ImmutableList<RouteToVehicleStop> previousRoute ()

The previous route known by the SDK.