onNewData

abstract fun onNewData(cameraOptions: CameraOptions): Boolean

Notifies that new data is available.

Return

true if new data is needed. returning false will unsubscribe from further data updates.

Parameters

cameraOptions

The latest CameraOptions from the ViewportState.