Rate this page:

RendererCallback

A callback that is called when a video renderer is started or failed to start.

Methods

onStarted

Copy URL
fun onStarted(): 

Unit

Called when a video renderer is started successfully.

This method guarantees to be called once.

Returns

  • type:

    Unit

onError

Copy URL
fun onError(error: 

Error

):

Unit

Called when an error occurs while attempting to start video renderer.

This method guarantees to be called once.

Parameters

Returns

  • type:

    Unit