Google은 흑인 공동체를 위한 인종 간 평등을 진전시키기 위해 노력하고 있습니다. Google에서 어떤 노력을 하고 있는지 확인하세요.
added in version 25.4.0
belongs to Maven artifact com.android.support:leanback-v17:28.0.0-alpha1

VideoSupportFragmentGlueHost

public class VideoSupportFragmentGlueHost
extends PlaybackSupportFragmentGlueHost implements SurfaceHolderGlueHost

java.lang.Object
   ↳ android.support.v17.leanback.media.PlaybackGlueHost
     ↳ android.support.v17.leanback.app.PlaybackSupportFragmentGlueHost
       ↳ android.support.v17.leanback.app.VideoSupportFragmentGlueHost


PlaybackGlueHost implementation the interaction between PlaybackGlue and VideoSupportFragment.

Summary

Public constructors

VideoSupportFragmentGlueHost(VideoSupportFragment fragment)

Public methods

void setSurfaceHolderCallback(SurfaceHolder.Callback callback)

Sets the SurfaceHolder.Callback on the host.

Inherited methods

From class android.support.v17.leanback.app.PlaybackSupportFragmentGlueHost
From class android.support.v17.leanback.media.PlaybackGlueHost
From class java.lang.Object
From interface android.support.v17.leanback.widget.PlaybackSeekUi
From interface android.support.v17.leanback.media.SurfaceHolderGlueHost

Public constructors

VideoSupportFragmentGlueHost

added in version 25.4.0
VideoSupportFragmentGlueHost (VideoSupportFragment fragment)

Parameters
fragment VideoSupportFragment

Public methods

setSurfaceHolderCallback

added in version 25.4.0
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