LaneController
public
class
LaneController
extends Object
java.lang.Object | |
↳ | com.google.android.libraries.car.app.testing.model.LaneController |
A controller that allows testing of a Lane
.
This controller allows retrieving the LaneDirection
s added via Lane.Builder.addDirection(LaneDirection)
.
Summary
Public methods | |
---|---|
Lane
|
get()
Retrieves the |
List<LaneDirection>
|
getDirections()
Returns all of the |
static
LaneController
|
of(Lane lane)
Creates a |
Inherited methods | |
---|---|
Public methods
getDirections
public List<LaneDirection> getDirections ()
Returns all of the LaneDirection
s added to the Lane
being controlled.
Returns | |
---|---|
List<LaneDirection> |
of
public static LaneController of (Lane lane)
Creates a LaneController
to control a Lane
for testing.
Parameters | |
---|---|
lane |
Lane |
Returns | |
---|---|
LaneController |