# SteeringManifestTracker.Callback

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.Callback)

*** ** * ** ***

<br />

```
interface SteeringManifestTracker.Callback
```

<br />

*** ** * ** ***

A callback to be notified of `https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/upstream/contentsteering/SteeringManifestTracker` events.

## Summary

| ### Public functions |
|---|---|
| `https://guava.dev/releases/snapshot-android/api/docs/com/google/common/collect/ImmutableMap.html<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!, https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!>!` | `https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/upstream/contentsteering/SteeringManifestTracker.Callback#getSteeringQueryParameters()()` Called by the `https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/upstream/contentsteering/SteeringManifestTracker` when it requires the steering query parameters to build the url for loading the steering manifest. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/upstream/contentsteering/SteeringManifestTracker.Callback#onSteeringManifestLoadError(java.io.IOException,boolean)(error: https://developer.android.com/reference/java/io/IOException.html!, canceled: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)` Called by the `https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/upstream/contentsteering/SteeringManifestTracker` when an error occurs while loading steering manifest. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/upstream/contentsteering/SteeringManifestTracker.Callback#onSteeringManifestUpdated(androidx.media3.exoplayer.upstream.contentsteering.SteeringManifest)(steeringManifest: https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/upstream/contentsteering/SteeringManifest!)` Called by the `https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/upstream/contentsteering/SteeringManifestTracker` when the steering manifest is updated. |

## Public functions

### getSteeringQueryParameters

```
fun getSteeringQueryParameters(): ImmutableMap<String!, String!>!
```

Called by the `https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/upstream/contentsteering/SteeringManifestTracker` when it requires the steering query parameters to build the url for loading the steering manifest.

### onSteeringManifestLoadError

```
fun onSteeringManifestLoadError(error: IOException!, canceled: Boolean): Unit
```

Called by the `https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/upstream/contentsteering/SteeringManifestTracker` when an error occurs while loading steering manifest.

| Parameters |
|---|---|
| `error: https://developer.android.com/reference/java/io/IOException.html!` | The load error of steering manifest. |
| `canceled: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | Whether the loading of steering manifest has been canceled and will no longer be reloaded. |

### onSteeringManifestUpdated

```
fun onSteeringManifestUpdated(steeringManifest: SteeringManifest!): Unit
```

Called by the `https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/upstream/contentsteering/SteeringManifestTracker` when the steering manifest is updated.

| Parameters |
|---|---|
| `steeringManifest: https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/upstream/contentsteering/SteeringManifest!` | The updated `https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/upstream/contentsteering/SteeringManifest`. |