added in version 25.4.0
belongs to Maven artifact com.android.support:leanback-v17:28.0.0-alpha1
Deprecated since version 27.1.0

VideoFragmentGlueHost

public class VideoFragmentGlueHost
extends PlaybackFragmentGlueHost implements SurfaceHolderGlueHost

java.lang.Object
   ↳ android.support.v17.leanback.media.PlaybackGlueHost
     ↳ android.support.v17.leanback.app.PlaybackFragmentGlueHost
       ↳ android.support.v17.leanback.app.VideoFragmentGlueHost


This class was deprecated in API level 27.1.0.
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

From class android.support.v17.leanback.app.PlaybackFragmentGlueHost
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

VideoFragmentGlueHost

added in version 25.4.0
VideoFragmentGlueHost (VideoFragment fragment)

Parameters
fragment VideoFragment

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