DashFasterRouteNotificationConfigUpdate

Properties

Link copied to clipboard

Defines the notification acceptance strategy. Available values are:

Link copied to clipboard

Controls how long a declined faster route notification stays silent. It comes back earlier when the alternative saves more than the declined one did, by at least the smaller of two thresholds: the one at the moment of the decline and the current one. See minFasterRouteDurationDiff.

Link copied to clipboard

Controls how often faster route notification is shown.

Link copied to clipboard

The upper bound of the time a faster route must save to be offered. The actual threshold is minFasterRouteDurationDiffRemainingRatio of the remaining time to arrival, kept between minFasterRouteDurationDiffFloor and this value. When this value is less than minFasterRouteDurationDiffFloor, the threshold is always this value.

Link copied to clipboard

The lower bound of the time a faster route must save to be offered. See minFasterRouteDurationDiff. Must not be negative, otherwise building the config throws IllegalArgumentException.

Link copied to clipboard

The share of the remaining time to arrival that a faster route must save to be offered, before the bounds are applied. See minFasterRouteDurationDiff. Must be finite and not negative, otherwise building the config throws IllegalArgumentException.

Link copied to clipboard
abstract var timeoutAction: String

Defines the action that should be taken automatically after the timeout. Available values are: