Google은 흑인 공동체를 위한 인종 간 평등을 진전시키기 위해 노력하고 있습니다. Google에서 어떤 노력을 하고 있는지 확인하세요.

VideoFragmentGlueHost

public class VideoFragmentGlueHost
extends PlaybackFragmentGlueHost implements SurfaceHolderGlueHost

java.lang.Object
   ↳ androidx.leanback.media.PlaybackGlueHost
     ↳ androidx.leanback.app.PlaybackFragmentGlueHost
       ↳ androidx.leanback.app.VideoFragmentGlueHost


This class is deprecated.
use VideoSupportFragmentGlueHost

PlaybackGlueHost implementation the interaction between PlaybackGlue and VideoFragment.

Summary

Public constructors

VideoFragmentGlueHost(VideoFragment fragment)

Public methods

void setSurfaceHolderCallback(SurfaceHolder.Callback callback)

Sets the SurfaceHolder.Callback on the host.

Inherited methods

Public constructors

VideoFragmentGlueHost

public VideoFragmentGlueHost (VideoFragment fragment)

Parameters
fragment VideoFragment

Public methods

setSurfaceHolderCallback

public void setSurfaceHolderCallback (SurfaceHolder.Callback callback)

Sets the SurfaceHolder.Callback on the host. PlaybackGlueHost is assumed to either host the SurfaceHolder or have a reference to the component hosting it for rendering the video.

Parameters
callback SurfaceHolder.Callback