VideoFragmentGlueHost
open classVideoFragmentGlueHost: PlaybackFragmentGlueHost, SurfaceHolderGlueHost
kotlin.Any | |||
↳ | androidx.leanback.media.PlaybackGlueHost | ||
↳ | androidx.leanback.app.PlaybackFragmentGlueHost | ||
↳ | androidx.leanback.app.VideoFragmentGlueHost |
PlaybackGlueHost
implementation the interaction between PlaybackGlue
and VideoFragment
.
Summary
Public constructors | |
---|---|
<init>(fragment: VideoFragment!) |
Public methods | |
---|---|
open Unit |
setSurfaceHolderCallback(callback: Callback!) Sets the |
Inherited functions | |
---|---|
Public constructors
<init>
VideoFragmentGlueHost(fragment: VideoFragment!)
Public methods
setSurfaceHolderCallback
open fun setSurfaceHolderCallback(callback: Callback!): Unit
Sets the android.view.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.