ConsumerPolylineTrafficStyle.Builder

public static abstract class ConsumerPolylineTrafficStyle.Builder extends Object

Public Constructor Summary

Public Method Summary

abstract ConsumerPolylineTrafficStyle
abstract ConsumerPolylineTrafficStyle.Builder
setIsTrafficVisible(boolean isTrafficVisible)
Sets whether traffic polylines are visible.
abstract ConsumerPolylineTrafficStyle.Builder
setNoDataColor(Integer color)
Sets the 32-bit ARGB color that represents no traffic data for a polyline.
abstract ConsumerPolylineTrafficStyle.Builder
setNormalColor(Integer color)
Sets the 32-bit ARGB color that represents normal traffic conditions for a polyline.
abstract ConsumerPolylineTrafficStyle.Builder
setSlowColor(Integer color)
Sets the 32-bit ARGB color that represents slow traffic conditions for a polyline.
abstract ConsumerPolylineTrafficStyle.Builder
setTrafficJamColor(Integer color)
Sets the 32-bit ARGB color that represents no traffic data for a polyline.

Inherited Method Summary

Public Constructors

public Builder ()

Public Methods

public abstract ConsumerPolylineTrafficStyle build ()

public abstract ConsumerPolylineTrafficStyle.Builder setIsTrafficVisible (boolean isTrafficVisible)

Sets whether traffic polylines are visible.

public abstract ConsumerPolylineTrafficStyle.Builder setNoDataColor (Integer color)

Sets the 32-bit ARGB color that represents no traffic data for a polyline.

public abstract ConsumerPolylineTrafficStyle.Builder setNormalColor (Integer color)

Sets the 32-bit ARGB color that represents normal traffic conditions for a polyline.

public abstract ConsumerPolylineTrafficStyle.Builder setSlowColor (Integer color)

Sets the 32-bit ARGB color that represents slow traffic conditions for a polyline.

public abstract ConsumerPolylineTrafficStyle.Builder setTrafficJamColor (Integer color)

Sets the 32-bit ARGB color that represents no traffic data for a polyline.