# ExoPlayer.PreloadConfiguration

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/ExoPlayer.java+class:androidx.media3.exoplayer.ExoPlayer.PreloadConfiguration)

*** ** * ** ***


```
@UnstableApi
public class ExoPlayer.PreloadConfiguration
```

<br />

*** ** * ** ***

Configuration options for preloading playlist items.

## Summary

| ### Constants |
|---|---|
| `static final https://developer.android.com/reference/androidx/media3/exoplayer/ExoPlayer.PreloadConfiguration` | `https://developer.android.com/reference/androidx/media3/exoplayer/ExoPlayer.PreloadConfiguration#DEFAULT()` Default preload configuration that disables playlist preloading. |

| ### Public fields |
|---|---|
| `final long` | `https://developer.android.com/reference/androidx/media3/exoplayer/ExoPlayer.PreloadConfiguration#targetPreloadDurationUs()` The target duration to buffer when preloading, in microseconds or `https://developer.android.com/reference/androidx/media3/common/C#TIME_UNSET()` to disable preloading. |

| ### Public constructors |
|---|
| `https://developer.android.com/reference/androidx/media3/exoplayer/ExoPlayer.PreloadConfiguration#PreloadConfiguration(long)(long targetPreloadDurationUs)` Creates an instance. |

## Constants

### DEFAULT

```
public static final ExoPlayer.PreloadConfiguration DEFAULT
```

Default preload configuration that disables playlist preloading.

## Public fields

### targetPreloadDurationUs

```
public final long targetPreloadDurationUs
```

The target duration to buffer when preloading, in microseconds or `https://developer.android.com/reference/androidx/media3/common/C#TIME_UNSET()` to disable preloading.

## Public constructors

### PreloadConfiguration

```
public PreloadConfiguration(long targetPreloadDurationUs)
```

Creates an instance.

| Parameters |
|---|---|
| `long targetPreloadDurationUs` | The target duration to preload, in microseconds or `https://developer.android.com/reference/androidx/media3/common/C#TIME_UNSET()` to disable preloading. |