ManeuverNotificationOptions constructor
- @Deprecated("Will be removed in v4.23.0. Use the `withDefaults` instead.")
- LanguageCode language,
- UnitSystem unitSystem
Creates a new instance of this class with specified language and unit system.
languageThe language in which the notifications will be generated. When the specified language is not supported, the default language is used, which is English (American).unitSystemDefines 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;