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

PlaybackFragmentGlueHost

public class PlaybackFragmentGlueHost
extends PlaybackGlueHost implements PlaybackSeekUi

java.lang.Object
   ↳ android.support.v17.leanback.media.PlaybackGlueHost
     ↳ android.support.v17.leanback.app.PlaybackFragmentGlueHost
Known Direct Subclasses


This class was deprecated in API level 27.1.0.
use PlaybackSupportFragmentGlueHost

PlaybackGlueHost implementation the interaction between this class and PlaybackFragment.

Summary

Public constructors

PlaybackFragmentGlueHost(PlaybackFragment fragment)

Public methods

void fadeOut()

This method is deprecated. Call hideControlsOverlay(boolean)

PlaybackGlueHost.PlayerCallback getPlayerCallback()

Implemented by PlaybackGlueHost for responding to player events.

void hideControlsOverlay(boolean runAnimation)

Hide controls overlay.

boolean isControlsOverlayAutoHideEnabled()

Returns true if auto hides controls overlay.

boolean isControlsOverlayVisible()

Returns true if controls overlay is visible, false otherwise.

void notifyPlaybackRowChanged()

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

void setControlsOverlayAutoHideEnabled(boolean enabled)

Enables or disables controls overlay auto hidden.

void setHostCallback(PlaybackGlueHost.HostCallback callback)

Sets the host PlaybackGlueHost.HostCallback callback on the host.

void setOnActionClickedListener(OnActionClickedListener listener)

Sets the View.OnClickListener on this fragment.

void setOnKeyInterceptListener(View.OnKeyListener onKeyListener)

Sets the View.OnKeyListener on the host.

void setPlaybackRow(Row row)

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

void