# SteeringManifestTracker

Artifact: [androidx.media3:media3-exoplayer](https://developer.android.com/jetpack/androidx/releases/media3) [View Source](https://cs.android.com/search?q=file:androidx/media3/exoplayer/upstream/contentsteering/SteeringManifestTracker.java+class:androidx.media3.exoplayer.upstream.contentsteering.SteeringManifestTracker)

*** ** * ** ***

<br />

```
@UnstableApi
class SteeringManifestTracker
```

<br />

*** ** * ** ***

Tracks the steering manifests.

## Summary

| ### Nested types |
|---|
| `interface https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/upstream/contentsteering/SteeringManifestTracker.Callback` A callback to be notified of `https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/upstream/contentsteering/SteeringManifestTracker` events. |

| ### Public constructors |
|---|
| `https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/upstream/contentsteering/SteeringManifestTracker#SteeringManifestTracker(androidx.media3.datasource.DataSource.Factory,com.google.common.base.Supplier<androidx.media3.exoplayer.util.ReleasableExecutor>)( dataSourceFactory: https://developer.android.com/reference/kotlin/androidx/media3/datasource/DataSource.Factory!, downloadExecutorSupplier: https://guava.dev/releases/snapshot-android/api/docs/com/google/common/base/Supplier.html<https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/util/ReleasableExecutor!>? )` Creates an instance. |

| ### Public functions |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/upstream/contentsteering/SteeringManifestTracker#start(android.net.Uri,androidx.media3.exoplayer.upstream.contentsteering.SteeringManifestTracker.Callback,androidx.media3.exoplayer.source.MediaSourceEventListener.EventDispatcher)( initialSteeringManifestUrl: https://developer.android.com/reference/android/net/Uri.html!, callback: https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/upstream/contentsteering/SteeringManifestTracker.Callback!, eventDispatcher: https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/source/MediaSourceEventListener.EventDispatcher! )` Starts the `https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/upstream/contentsteering/SteeringManifestTracker`. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/upstream/contentsteering/SteeringManifestTracker#stop()()` Stops the `https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/upstream/contentsteering/SteeringManifestTracker`. |

## Public constructors

### SteeringManifestTracker

```
SteeringManifestTracker(
    dataSourceFactory: DataSource.Factory!,
    downloadExecutorSupplier: Supplier<ReleasableExecutor!>?
)
```

Creates an instance.

| Parameters |
|---|---|
| `dataSourceFactory: https://developer.android.com/reference/kotlin/androidx/media3/datasource/DataSource.Factory!` | The `https://developer.android.com/reference/kotlin/androidx/media3/datasource/DataSource.Factory` to use for steering manifest loading. |
| `downloadExecutorSupplier: https://guava.dev/releases/snapshot-android/api/docs/com/google/common/base/Supplier.html<https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/util/ReleasableExecutor!>?` | A supplier for a `https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/util/ReleasableExecutor` that is used for loading the steering manifest. |

## Public functions

### start

```
fun start(
    initialSteeringManifestUrl: Uri!,
    callback: SteeringManifestTracker.Callback!,
    eventDispatcher: MediaSourceEventListener.EventDispatcher!
): Unit
```

Starts the `https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/upstream/contentsteering/SteeringManifestTracker`.

| Parameters |
|---|---|
| `initialSteeringManifestUrl: https://developer.android.com/reference/android/net/Uri.html!` | The initial steering manifest url from the content description (an HLS multivariant playlist or a DASH MPD). |
| `callback: https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/upstream/contentsteering/SteeringManifestTracker.Callback!` | A `https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/upstream/contentsteering/SteeringManifestTracker.Callback`. |
| `eventDispatcher: https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/source/MediaSourceEventListener.EventDispatcher!` | A dispatcher to notify of events. |

### stop

```
fun stop(): Unit
```

Stops the `https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/upstream/contentsteering/SteeringManifestTracker`.