Skip to content

Commit

Permalink
vk-552-route-alerts: CHANGELOG updated, code docs added for RouteAler…
Browse files Browse the repository at this point in the history
…t.Alert
  • Loading branch information
Udumft committed Dec 14, 2020
1 parent e606ceb commit 5515683
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

### Packaging

* `MapboxNavigationNative` version bumped to v26.3, `MapboxCommon` updated to v9.1.0 and `MapboxDirections.swift` to v1.2 ([#2694](https://github.com/mapbox/mapbox-navigation-ios/pull/2694)
* Increased the minimum versions of `MapboxNavigationNative` to v26.3, `MapboxCommon` to v9.1.0 and `MapboxDirections` to v1.2. ([#2694](https://github.com/mapbox/mapbox-navigation-ios/pull/2694))

### User interface

Expand Down
7 changes: 7 additions & 0 deletions MapboxCoreNavigation/RouteAlert.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,19 @@ import MapboxDirections
`RouteAlert` encapsulates information about various incoming events. Common attributes like location, distance to the event, length and other is provided for each POI, while specific meta data is supplied via `alert` property.
*/
public struct RouteAlert {
/// Enumeration used for encapsulating additional details to describe specific type of alert
public enum Alert {
/// Incident alert with details
case incident(Incident)
/// Tunnel alert with details
case tunnel(Tunnel)
/// Border alert crossing with details
case borderCrossing(BorderCrossing)
/// Toll collect alert with details
case tollCollection(TollCollection)
/// Service area alert with details
case serviceArea(RestStop)
/// Restricted area alert
case restrictedArea
}

Expand Down

0 comments on commit 5515683

Please sign in to comment.