ManeuverNotificationTimingOptions constructor
- int rangeNotificationDistanceInMeters,
- int rangeNotificationTimeInSeconds,
- int reminderNotificationDistanceInMeters,
- int reminderNotificationTimeInSeconds,
- int distanceNotificationDistanceInMeters,
- int distanceNotificationTimeInSeconds,
- int actionNotificationDistanceInMeters,
- int actionNotificationTimeInSeconds,
- int doubleNotificationDistanceInMeters,
Creates a new instance.
rangeNotificationDistanceInMetersThe default distance setting for ManeuverNotificationType.range notification. A configuration value of 0 is only allowed for ManeuverNotificationTimingOptions.rangeNotificationDistanceInMeters and ManeuverNotificationTimingOptions.rangeNotificationTimeInSeconds. It means that the maneuver notifications of type ManeuverNotificationType.range should be generated as soon as the maneuver location is known - no matter how far away it may be.
| Transport Mode | Timing Profile | Default value |
|---|---|---|
| TransportMode.pedestrian | TimingProfile.fastSpeed | 0 |
| TransportMode.pedestrian | TimingProfile.regularSpeed | 0 |
| TransportMode.pedestrian | TimingProfile.slowSpeed | 0 |
| Others | TimingProfile.fastSpeed | 0 |
| Others | TimingProfile.regularSpeed | 0 |
| Others | TimingProfile.slowSpeed | 0 |
rangeNotificationTimeInSecondsThe default time setting for ManeuverNotificationType.range notification. A configuration value of 0 is only allowed for ManeuverNotificationTimingOptions.rangeNotificationDistanceInMeters and ManeuverNotificationTimingOptions.rangeNotificationTimeInSeconds. It means that the maneuver notifications of type ManeuverNotificationType.range should be generated as soon as the maneuver location is known - no matter how far away it may be.
| Transport Mode | Timing Profile | Default value |
|---|---|---|
| TransportMode.pedestrian | TimingProfile.fastSpeed | 0 |
| TransportMode.pedestrian | TimingProfile.regularSpeed | 0 |
| TransportMode.pedestrian | TimingProfile.slowSpeed | 0 |
| Others | TimingProfile.fastSpeed | 0 |
| Others | TimingProfile.regularSpeed | 0 |
| Others | TimingProfile.slowSpeed | 0 |
reminderNotificationDistanceInMetersThe default distance setting for ManeuverNotificationType.reminder notification.
| Transport Mode | Timing Profile | Default value |
|---|---|---|
| TransportMode.pedestrian | TimingProfile.fastSpeed | 500 |
| TransportMode.pedestrian | TimingProfile.regularSpeed | 500 |
| TransportMode.pedestrian | TimingProfile.slowSpeed | 500 |
| Others | TimingProfile.fastSpeed | 2300 |
| Others | TimingProfile.regularSpeed | 800 |
| Others | TimingProfile.slowSpeed | 600 |
reminderNotificationTimeInSecondsThe default time setting for ManeuverNotificationType.reminder notification.
| Transport Mode | Timing Profile | Default value |
|---|---|---|
| TransportMode.pedestrian | TimingProfile.fastSpeed | 40 |
| TransportMode.pedestrian | TimingProfile.regularSpeed | 40 |
| TransportMode.pedestrian | TimingProfile.slowSpeed | 40 |
| Others | TimingProfile.fastSpeed | 40 |
| Others | TimingProfile.regularSpeed | 40 |
| Others | TimingProfile.slowSpeed | 40 |
distanceNotificationDistanceInMetersThe default distance setting for ManeuverNotificationType.distance notification.
| Transport Mode | Timing Profile | Default value |
|---|---|---|
| TransportMode.pedestrian | TimingProfile.fastSpeed | 100 |
| TransportMode.pedestrian | TimingProfile.regularSpeed | 100 |
| TransportMode.pedestrian | TimingProfile.slowSpeed | 100 |
| Others | TimingProfile.fastSpeed | 1300 |
| Others | TimingProfile.regularSpeed | 300 |
| Others | TimingProfile.slowSpeed | 300 |
distanceNotificationTimeInSecondsThe default time setting for ManeuverNotificationType.distance notification.
| Transport Mode | Timing Profile | Default value |
|---|---|---|
| TransportMode.pedestrian | TimingProfile.fastSpeed | 18 |
| TransportMode.pedestrian | TimingProfile.regularSpeed | 18 |
| TransportMode.pedestrian | TimingProfile.slowSpeed | 18 |
| Others | TimingProfile.fastSpeed | 18 |
| Others | TimingProfile.regularSpeed | 18 |
| Others | TimingProfile.slowSpeed | 18 |
actionNotificationDistanceInMetersThe default distance setting for ManeuverNotificationType.action notification.
| Transport Mode | Timing Profile | Default value |
|---|---|---|
| TransportMode.pedestrian | TimingProfile.fastSpeed | 10 |
| TransportMode.pedestrian | TimingProfile.regularSpeed | 10 |
| TransportMode.pedestrian | TimingProfile.slowSpeed | 10 |
| Others | TimingProfile.fastSpeed | 400 |
| Others | TimingProfile.regularSpeed | 100 |
| Others | TimingProfile.slowSpeed | 50 |
actionNotificationTimeInSecondsThe default time setting for ManeuverNotificationType.action notification.
| Transport Mode | Timing Profile | Default value |
|---|---|---|
| TransportMode.pedestrian | TimingProfile.fastSpeed | 5 |
| TransportMode.pedestrian | TimingProfile.regularSpeed | 5 |
| TransportMode.pedestrian | TimingProfile.slowSpeed | 5 |
| Others | TimingProfile.fastSpeed | 5 |
| Others | TimingProfile.regularSpeed | 5 |
| Others | TimingProfile.slowSpeed | 5 |
doubleNotificationDistanceInMetersThe default distance setting for double notification.
| Transport Mode | Timing Profile | Default value |
|---|---|---|
| TransportMode.pedestrian | TimingProfile.fastSpeed | 20 |
| TransportMode.pedestrian | TimingProfile.regularSpeed | 20 |
| TransportMode.pedestrian | TimingProfile.slowSpeed | 20 |
| Others | TimingProfile.fastSpeed | 750 |
| Others | TimingProfile.regularSpeed | 250 |
| Others | TimingProfile.slowSpeed | 150 |
Implementation
ManeuverNotificationTimingOptions(this.rangeNotificationDistanceInMeters, this.rangeNotificationTimeInSeconds, this.reminderNotificationDistanceInMeters, this.reminderNotificationTimeInSeconds, this.distanceNotificationDistanceInMeters, this.distanceNotificationTimeInSeconds, this.actionNotificationDistanceInMeters, this.actionNotificationTimeInSeconds, this.doubleNotificationDistanceInMeters);