SphericalGLSurfaceView.VideoSurfaceListener


interface SphericalGLSurfaceView.VideoSurfaceListener


Listener for the Surface to which video frames should be rendered.

Summary

Public functions

Unit

Called when the Surface to which video frames should be rendered is created.

Unit

Called when the Surface to which video frames should be rendered is destroyed.

Public functions

onVideoSurfaceCreated

fun onVideoSurfaceCreated(surface: Surface!): Unit

Called when the Surface to which video frames should be rendered is created.

onVideoSurfaceDestroyed

fun onVideoSurfaceDestroyed(surface: Surface!): Unit

Called when the Surface to which video frames should be rendered is destroyed.