Back to Exoplayer

SphericalGLSurfaceView.VideoSurfaceListener (ExoPlayer library)

docs/doc/reference/com/google/android/exoplayer2/video/spherical/SphericalGLSurfaceView.VideoSurfaceListener.html

latest2.0 KB
Original Source

Package com.google.android.exoplayer2.video.spherical

Interface SphericalGLSurfaceView.VideoSurfaceListener


public static interfaceSphericalGLSurfaceView.VideoSurfaceListener

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

Method Summary

All Methods Instance Methods Abstract Methods | Modifier and Type | Method | Description | | --- | --- | --- | | void | onVideoSurfaceCreated​(Surface surface) | Called when the Surface to which video frames should be rendered is created. | | void | onVideoSurfaceDestroyed​(Surface surface) | Called when the Surface to which video frames should be rendered is destroyed. |

Method Detail

- 

onVideoSurfaceCreated

void onVideoSurfaceCreated​([Surface](https://developer.android.com/reference/android/view/Surface.html "class or interface in android.view")surface)

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

- 

onVideoSurfaceDestroyed

void onVideoSurfaceDestroyed​([Surface](https://developer.android.com/reference/android/view/Surface.html "class or interface in android.view")surface)

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