Google は、黒人コミュニティに対する人種平等の促進に取り組んでいます。取り組みを見る

SurfaceHolderGlueHost

public interface SurfaceHolderGlueHost

androidx.leanback.media.SurfaceHolderGlueHost


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 PlaybackGlue.setHost(PlaybackGlueHost).

Summary

Public methods

abstract void setSurfaceHolderCallback(SurfaceHolder.Callback callback)

Sets the SurfaceHolder.Callback on the the host.

Public methods

setSurfaceHolderCallback

public abstract void setSurfaceHolderCallback (SurfaceHolder.Callback callback)

Sets the SurfaceHolder.Callback on the the host.

Parameters
callback SurfaceHolder.Callback