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

PlaybackSupportFragmentGlueHost

public class PlaybackSupportFragmentGlueHost
extends PlaybackGlueHost implements PlaybackSeekUi

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


PlaybackGlueHost implementation the interaction between this class and PlaybackSupportFragment.

Summary

Public constructors

PlaybackSupportFragmentGlueHost(PlaybackSupportFragment 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 setPlaybackRowPresenter(PlaybackRowPresenter presenter)

Sets PlaybackRowPresenter for rendering the playback controls.

void setPlaybackSeekUiClient(PlaybackSeekUi.Client client)

Interface to be implemented by UI widget to support PlaybackSeekUi.

void showControlsOverlay(boolean runAnimation)

Show controls overlay.

Inherited methods

From class android.suppor