Builder

class Builder

Build a new SpeedLimitOptions

Constructors

Link copied to clipboard
fun Builder()

Functions

Link copied to clipboard
fun build(): SpeedLimitOptions
Link copied to clipboard
fun forcedSignFormat(forcedSignFormat: SpeedLimitSign?): SpeedLimitOptions.Builder

Sign format to use when drawing the speed limit. If not specified, SpeedLimit.speedLimitSign will be used.

Link copied to clipboard
fun warningThreshold(warningThreshold: Int): SpeedLimitOptions.Builder

Maximum allowed difference between the actual speed and the speed limit before the speed limit widget goes into the 'warning' state.