VideoSupportFragmentGlueHost


class VideoSupportFragmentGlueHost : PlaybackSupportFragmentGlueHost, SurfaceHolderGlueHost


PlaybackGlueHost implementation the interaction between PlaybackGlue and VideoSupportFragment.

Summary

Public constructors

Public functions

Unit

Sets the android.view.SurfaceHolder.Callback on the host.

Inherited functions

From androidx.leanback.media.PlaybackGlueHost
Unit

This function is deprecated.

Use setControlsOverlayAutoHideEnabled

Unit

Sets the View.OnClickListener on this fragment.

From androidx.leanback.app.PlaybackSupportFragmentGlueHost
Unit

This function is deprecated.

Call hideControlsOverlay

PlaybackGlueHost.PlayerCallback!

Implemented by PlaybackGlueHost for responding to player events.

Unit

Hide controls overlay.

Boolean

Returns true if auto hides controls overlay.

Boolean

Returns true if controls overlay is visible, false otherwise.

Unit

Notifies host about a change so it can update the view.

Unit

Enables or disables controls overlay auto hidden.

Unit

Sets the host HostCallback callback on the host.

Unit

Sets the View.OnClickListener on this fragment.

Unit

Sets the android.view.View.OnKeyListener on the host.

Unit

Sets the Row that represents the information on control items that needs to be rendered.

Unit

Sets PlaybackRowPresenter for rendering the playback controls.

Unit

Interface to be implemented by UI widget to support PlaybackSeekUi.

Unit

Show controls overlay.

Public constructors

VideoSupportFragmentGlueHost

Added in 1.1.0
VideoSupportFragmentGlueHost(fragment: VideoSupportFragment!)

Public functions

setSurfaceHolderCallback

Added in 1.2.0-alpha04
fun setSurfaceHolderCallback(callback: SurfaceHolder.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.