# TargetPreloadStatusControl

# TargetPreloadStatusControl

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/source/preload/TargetPreloadStatusControl.java+class:androidx.media3.exoplayer.source.preload.TargetPreloadStatusControl)

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/androidx/media3/exoplayer/source/preload/TargetPreloadStatusControl "View this page in Java")

<br />

```
@UnstableApi
interface TargetPreloadStatusControl<T, PreloadStatusT>
```

<br />

*** ** * ** ***

Controls the target preload status.

## Summary

| ### Public functions |
|----------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `PreloadStatusT!`    | [getTargetPreloadStatus](https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/source/preload/TargetPreloadStatusControl#getTargetPreloadStatus(T))`(rankingData: T!)` Returns the target preload status for a source with the given`rankingData`. |

## Public functions

### getTargetPreloadStatus

```
fun getTargetPreloadStatus(rankingData: T!): PreloadStatusT!
```

Returns the target preload status for a source with the given`rankingData`.