RendererCallback
A callback that is called when a video renderer is started or failed to start.
Methods
onError
fun onError(error: ): Unit
Called when an error occurs while attempting to start video renderer.
This method guarantees to be called once.
Parameters
error:
Returns
type:
Unit
onStarted
fun onStarted(): Unit
Called when a video renderer is started successfully.
This method guarantees to be called once.
Returns
type:
Unit