SurfaceHolderGlueHost

interface SurfaceHolderGlueHost


Optional interface to be implemented by any subclass of PlaybackGlueHost that contains a android.view.SurfaceView. This will allow subclass of PlaybackGlue to setup the surface holder callback during setHost.

See also
setHost

Summary

Public functions

Unit

Sets the SurfaceHolder.Callback on the the host.

Public functions

setSurfaceHolderCallback

Added in 1.1.0
fun setSurfaceHolderCallback(callback: SurfaceHolder.Callback?): Unit

Sets the SurfaceHolder.Callback on the the host.