ViewportDataSourceType
public enum ViewportDataSourceType
Possible types of location related updates NavigationViewportDataSource can track.
ViewportDataSourceType can also be used in custom implementations of classes, which conform to
ViewportDataSource.
-
If
.rawtype is specifiedNavigationViewportDataSourcewill registerLocationConsumerprovided by Maps SDK to be able to continuously get location updates from it.Declaration
Swift
case raw -
If
.passivetype is specifiedNavigationViewportDataSourcewill track location updates (snapped to road) during free drive navigation by subscribing toNotification.Name.passiveLocationManagerDidUpdatenotifications.Declaration
Swift
case passive -
If
.activetype is specifiedNavigationViewportDataSourcewill track location updates (snapped to road) during active guidance navigation by subscribing toNotification.Name.routeControllerProgressDidChangenotifications.Declaration
Swift
case active
Install in Dash
ViewportDataSourceType Enumeration Reference