ManeuverNotificationOptions constructor

  1. @Deprecated("Will be removed in v4.23.0. Use the `withDefaults` instead.")
ManeuverNotificationOptions(
  1. LanguageCode language,
  2. UnitSystem unitSystem
)

Creates a new instance of this class with specified language and unit system.

  • language The language in which the notifications will be generated. When the specified language is not supported, the default language is used, which is English (American).
  • unitSystem Defines the measurement system used for distances. Defaults to metric.

Implementation

@Deprecated("Will be removed in v4.23.0. Use the `withDefaults` instead.")
ManeuverNotificationOptions(this.language, this.unitSystem)
    : includedNotificationTypes = [ManeuverNotificationType.range, ManeuverNotificationType.reminder, ManeuverNotificationType.distance, ManeuverNotificationType.action], enableRoundaboutNotification = true, enableDestinationReachedNotification = true, arrivalNotificationOption = ArrivalNotificationOption.both, enableDoubleNotification = true, enablePhoneme = false, notificationFormatOption = NotificationFormatOption.plain, textUsageOptions = TextUsageOptions(), enableHighwayExit = true, enableLaneRecommendation = false, includedNaturalGuidanceTypes = [], directionInformationUsageForActionNotificationOption = DirectionInformationUsageOption.none;