# AudioOutputProvider.FormatSupport

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/audio/AudioOutputProvider.java+class:androidx.media3.exoplayer.audio.AudioOutputProvider.FormatSupport)

*** ** * ** ***


```
public final class AudioOutputProvider.FormatSupport
```

<br />

*** ** * ** ***

Level of support for an audio format by the provider.

## Summary

| ### Nested types |
|---|
| `public final class https://developer.android.com/reference/androidx/media3/exoplayer/audio/AudioOutputProvider.FormatSupport.Builder` A builder to create `https://developer.android.com/reference/androidx/media3/exoplayer/audio/AudioOutputProvider.FormatSupport` instances. |

| ### Constants |
|---|---|
| `static final https://developer.android.com/reference/androidx/media3/exoplayer/audio/AudioOutputProvider.FormatSupport` | `https://developer.android.com/reference/androidx/media3/exoplayer/audio/AudioOutputProvider.FormatSupport#UNSUPPORTED()` Level of support for an unsupported format. |

| ### Public fields |
|---|---|
| `final boolean` | `https://developer.android.com/reference/androidx/media3/exoplayer/audio/AudioOutputProvider.FormatSupport#isFormatSupportedForOffload()` Whether the format is supported with offload playback. |
| `final boolean` | `https://developer.android.com/reference/androidx/media3/exoplayer/audio/AudioOutputProvider.FormatSupport#isGaplessSupportedForOffload()` Whether playback of the format is supported with gapless transitions for offload. |
| `final boolean` | `https://developer.android.com/reference/androidx/media3/exoplayer/audio/AudioOutputProvider.FormatSupport#isSpeedChangeSupportedForOffload()` Whether playback of the format is supported with speed changes for offload. |
| `final int` | `@https://developer.android.com/reference/androidx/media3/exoplayer/audio/AudioOutputProvider.SupportLevel https://developer.android.com/reference/androidx/media3/exoplayer/audio/AudioOutputProvider.FormatSupport#supportLevel()` The level of support for the format. |

| ### Public methods |
|---|---|
| `https://developer.android.com/reference/androidx/media3/exoplayer/audio/AudioOutputProvider.FormatSupport.Builder` | `https://developer.android.com/reference/androidx/media3/exoplayer/audio/AudioOutputProvider.FormatSupport#buildUpon()()` Creates a new `https://developer.android.com/reference/androidx/media3/exoplayer/audio/AudioOutputProvider.FormatSupport.Builder`, copying the initial values from this instance. |

## Constants

### UNSUPPORTED

```
public static final AudioOutputProvider.FormatSupport UNSUPPORTED
```

Level of support for an unsupported format.

## Public fields

### isFormatSupportedForOffload

```
public final boolean isFormatSupportedForOffload
```

Whether the format is supported with offload playback.

### isGaplessSupportedForOffload

```
public final boolean isGaplessSupportedForOffload
```

Whether playback of the format is supported with gapless transitions for offload.

### isSpeedChangeSupportedForOffload

```
public final boolean isSpeedChangeSupportedForOffload
```

Whether playback of the format is supported with speed changes for offload.

### supportLevel

```
@AudioOutputProvider.SupportLevel
public final int supportLevel
```

The level of support for the format.

## Public methods

### buildUpon

```
public AudioOutputProvider.FormatSupport.Builder buildUpon()
```

Creates a new `https://developer.android.com/reference/androidx/media3/exoplayer/audio/AudioOutputProvider.FormatSupport.Builder`, copying the initial values from this instance.