Save the date! Android Dev Summit is coming to Mountain View, CA on November 7-8, 2018.
Android 0.0.0 Developer Preview
belongs to Maven artifact androidx.leanback:leanback:1.1.0-alpha01
Deprecated since version 0.0.0

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 was deprecated in API level 0.0.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

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