added in version 25.1.0
belongs to Maven artifact com.android.support:leanback-v17:28.0.0-alpha1

SurfaceHolderGlueHost

public interface SurfaceHolderGlueHost

android.support.v17.leanback.media.SurfaceHolderGlueHost
Known Indirect Subclasses


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

Summary

Public methods

abstract void setSurfaceHolderCallback(SurfaceHolder.Callback callback)

Sets the SurfaceHolder.Callback on the the host.

Public methods

setSurfaceHolderCallback

added in version 25.1.0
void setSurfaceHolderCallback (SurfaceHolder.Callback callback)

Sets the SurfaceHolder.Callback on the the host.

Parameters
callback SurfaceHolder.Callback