Representation of customizable style inputs for a traffic polyline on the map. These
styles are intended to apply to all traffic polylines of a particular
PolylineType
.
Nested Class Summary
class | ConsumerPolylineTrafficStyle.Builder | Builds
ConsumerPolylineTrafficStyle instance. |
Public Constructor Summary
Public Method Summary
static ConsumerPolylineTrafficStyle.Builder |
builder()
|
abstract boolean |
getIsTrafficVisible()
Gets the traffic visibility setting for a traffic polyline.
|
abstract Integer |
getNoDataColor()
Gets the 32-bit ARGB color that represents no traffic data for a polyline.
|
abstract Integer |
getNormalColor()
Gets the 32-bit ARGB color that represents normal traffic conditions for a
polyline.
|
abstract Integer |
getSlowColor()
Gets the 32-bit ARGB color that represents slow traffic conditions for a
polyline.
|
abstract Integer |
getTrafficJamColor()
Gets the 32-bit ARGB color that represents a traffic jam for a polyline.
|
abstract ConsumerPolylineTrafficStyle.Builder |
Inherited Method Summary
Public Constructors
public ConsumerPolylineTrafficStyle ()
Public Methods
public static ConsumerPolylineTrafficStyle.Builder builder ()
public abstract boolean getIsTrafficVisible ()
Gets the traffic visibility setting for a traffic polyline.
public abstract Integer getNoDataColor ()
Gets the 32-bit ARGB color that represents no traffic data for a polyline.
public abstract Integer getNormalColor ()
Gets the 32-bit ARGB color that represents normal traffic conditions for a polyline.
public abstract Integer getSlowColor ()
Gets the 32-bit ARGB color that represents slow traffic conditions for a polyline.
public abstract Integer getTrafficJamColor ()
Gets the 32-bit ARGB color that represents a traffic jam for a polyline.