observe Data Source
abstract fun observeDataSource(viewportStateDataObserver: ViewportStateDataObserver): Cancelable
Content copied to clipboard
Observe the new camera options produced by the ViewportState, it can be used to get the latest state CameraOptions for ViewportTransition.
Return
a handle that cancels current observation.
Parameters
viewportStateDataObserver
observer that observe new viewport data.