Encapsulates triggering thresholds for different severity levels of speed alerts, represented by
SpeedAlertSeverity
.
You can use this class to customize the speed alert triggering thresholds as a percentage for
both MINOR
and MAJOR
alerts, and to
customize the time-based triggering threshold for MAJOR
speed alert.
The speed alerts that are triggered by thresholds from this SpeedAlertOptions
have
their UI customized in SpeedometerUiOptions
.
Nested Class Summary
class | SpeedAlertOptions.Builder | Builder for building SpeedAlertOptions. |
Constant Summary
int | UNKNOWN_PERCENTAGE | |
int | UNKNOWN_TIME |
Field Summary
public final int | majorSpeedAlertThresholdPercentage | |
public final int | minorSpeedAlertThresholdPercentage | |
public final int | severityUpgradeDurationSeconds |