# PlaybackSeekUi

Artifact: [androidx.leanback:leanback](https://developer.android.com/jetpack/androidx/releases/leanback) [View Source](https://cs.android.com/search?q=file:androidx/leanback/widget/PlaybackSeekUi.java+class:androidx.leanback.widget.PlaybackSeekUi) Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/leanback#1.1.0)

*** ** * ** ***


```
public interface PlaybackSeekUi
```

<br />

Known direct subclasses [PlaybackFragmentGlueHost](https://developer.android.com/reference/androidx/leanback/app/PlaybackFragmentGlueHost), [PlaybackSupportFragmentGlueHost](https://developer.android.com/reference/androidx/leanback/app/PlaybackSupportFragmentGlueHost), [PlaybackTransportRowPresenter.ViewHolder](https://developer.android.com/reference/androidx/leanback/widget/PlaybackTransportRowPresenter.ViewHolder)

|---|---|
| `https://developer.android.com/reference/androidx/leanback/app/PlaybackFragmentGlueHost` | **This class is deprecated.** use `https://developer.android.com/reference/androidx/leanback/app/PlaybackSupportFragmentGlueHost` <br /> |
| `https://developer.android.com/reference/androidx/leanback/app/PlaybackSupportFragmentGlueHost` | `https://developer.android.com/reference/androidx/leanback/media/PlaybackGlueHost` implementation the interaction between this class and `https://developer.android.com/reference/androidx/leanback/app/PlaybackSupportFragment`. |
| `https://developer.android.com/reference/androidx/leanback/widget/PlaybackTransportRowPresenter.ViewHolder` | A ViewHolder for the PlaybackControlsRow supporting seek UI. |

Known indirect subclasses [VideoFragmentGlueHost](https://developer.android.com/reference/androidx/leanback/app/VideoFragmentGlueHost), [VideoSupportFragmentGlueHost](https://developer.android.com/reference/androidx/leanback/app/VideoSupportFragmentGlueHost)

|---|---|
| `https://developer.android.com/reference/androidx/leanback/app/VideoFragmentGlueHost` | **This class is deprecated.** use `https://developer.android.com/reference/androidx/leanback/app/VideoSupportFragmentGlueHost` <br /> |
| `https://developer.android.com/reference/androidx/leanback/app/VideoSupportFragmentGlueHost` | `https://developer.android.com/reference/androidx/leanback/media/PlaybackGlueHost` implementation the interaction between `https://developer.android.com/reference/androidx/leanback/media/PlaybackGlue` and `https://developer.android.com/reference/androidx/leanback/app/VideoSupportFragment`. |

*** ** * ** ***

Interface to be implemented by UI component to support seeking. PlaybackGlueHost may implement the interface to support seeking UI for the PlaybackGlue. There is only one single method `https://developer.android.com/reference/androidx/leanback/widget/PlaybackSeekUi#setPlaybackSeekUiClient(androidx.leanback.widget.PlaybackSeekUi.Client)` in the interface. Client (PlaybackGlue) registers itself as a Client to receive events emitted by PlaybackSeekUi and provide data to the PlaybackSeekUi.

## Summary

| ### Nested types |
|---|
| `public class https://developer.android.com/reference/androidx/leanback/widget/PlaybackSeekUi.Client` Client (e.g. PlaybackGlue) to register on PlaybackSeekUi so that it can interact with Seeking UI. |

| ### Public methods |
|---|---|
| `abstract void` | `https://developer.android.com/reference/androidx/leanback/widget/PlaybackSeekUi#setPlaybackSeekUiClient(androidx.leanback.widget.PlaybackSeekUi.Client)(https://developer.android.com/reference/androidx/leanback/widget/PlaybackSeekUi.Client client)` Interface to be implemented by UI widget to support PlaybackSeekUi. |

## Public methods

### setPlaybackSeekUiClient

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/leanback#1.1.0)

```
abstract void setPlaybackSeekUiClient(PlaybackSeekUi.Client client)
```

Interface to be implemented by UI widget to support PlaybackSeekUi.