ViewportDataSource
Describes an object that provides desired camera positions to NavigationCamera.
Implementation should always store the latest available ViewportData and return it via getViewportData. Whenever data becomes available, registered ViewportDataSourceUpdateObserver should be notified.
Functions
Link copied to clipboard
Get the latest ViewportData.
Link copied to clipboard
abstract fun registerUpdateObserver(viewportDataSourceUpdateObserver: ViewportDataSourceUpdateObserver)
Content copied to clipboard
Register an observer that gets called whenever the available ViewportData changes. The observer also gets notified with latest data on registration.
Link copied to clipboard
abstract fun unregisterUpdateObserver(viewportDataSourceUpdateObserver: ViewportDataSourceUpdateObserver)
Content copied to clipboard
Unregister ViewportDataSourceUpdateObserver.