이제 두 번째 Android 11 개발자 프리뷰를 사용할 수 있습니다. 테스트해 보고 의견을 공유하세요.
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