onNewData

abstract fun onNewData(cameraOptions: CameraOptions): Boolean

Notifies that new data is available.

Return

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

Parameters

cameraOptions

The most recent CameraOptions from the ViewportState.