ViewportDataSource
public protocol ViewportDataSource : AnyObject
Protocol, which is used to fill and store CameraOptions
which will be used by
NavigationCamera
for execution of transitions and continuous updates.
By default Navigation SDK for iOS provides default implementation of ViewportDataSource
in NavigationViewportDataSource
.
-
Delegate, which is used to notify
NavigationCamera
regarding upcomingCameraOptions
related changes.Declaration
Swift
var delegate: ViewportDataSourceDelegate? { get set }
-
CameraOptions
, which are used on iOS when transitioning toNavigationCameraState.following
or for continuous updates when already inNavigationCameraState.following
state.Declaration
Swift
var followingMobileCamera: CameraOptions { get }
-
CameraOptions
, which are used on CarPlay when transitioning toNavigationCameraState.following
or for continuous updates when already inNavigationCameraState.following
state.Declaration
Swift
var followingCarPlayCamera: CameraOptions { get }
-
CameraOptions
, which are used on iOS when transitioning toNavigationCameraState.overview
or for continuous updates when already inNavigationCameraState.overview
state.Declaration
Swift
var overviewMobileCamera: CameraOptions { get }
-
CameraOptions
, which are used on CarPlay when transitioning toNavigationCameraState.overview
or for continuous updates when already inNavigationCameraState.overview
state.Declaration
Swift
var overviewCarPlayCamera: CameraOptions { get }