# 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)

*** ** * ** ***

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

<br />

```
class AudioOutputProvider.FormatSupport
```

<br />

*** ** * ** ***

Level of support for an audio format by the provider.

## Summary

|                                                                                                                                                               ### Nested types                                                                                                                                                               |
|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `class `[AudioOutputProvider.FormatSupport.Builder](https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/audio/AudioOutputProvider.FormatSupport.Builder) A builder to create[FormatSupport](https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/audio/AudioOutputProvider.FormatSupport)instances. |

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

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

|                                ### Public properties                                |
|-------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html) | [isFormatSupportedForOffload](https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/audio/AudioOutputProvider.FormatSupport#isFormatSupportedForOffload()) Whether the format is supported with offload playback.                                                                                                        |
| [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html) | [isGaplessSupportedForOffload](https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/audio/AudioOutputProvider.FormatSupport#isGaplessSupportedForOffload()) Whether playback of the format is supported with gapless transitions for offload.                                                                           |
| [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html) | [isSpeedChangeSupportedForOffload](https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/audio/AudioOutputProvider.FormatSupport#isSpeedChangeSupportedForOffload()) Whether playback of the format is supported with speed changes for offload.                                                                         |
| [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)         | `@`[AudioOutputProvider.SupportLevel](https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/audio/AudioOutputProvider.SupportLevel) [supportLevel](https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/audio/AudioOutputProvider.FormatSupport#supportLevel()) The level of support for the format. |

## Constants

### UNSUPPORTED

```
const val UNSUPPORTED: AudioOutputProvider.FormatSupport!
```

Level of support for an unsupported format.  

## Public functions

### buildUpon

```
fun buildUpon(): AudioOutputProvider.FormatSupport.Builder!
```

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

## Public properties

### isFormatSupportedForOffload

```
val isFormatSupportedForOffload: Boolean
```

Whether the format is supported with offload playback.  

### isGaplessSupportedForOffload

```
val isGaplessSupportedForOffload: Boolean
```

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

### isSpeedChangeSupportedForOffload

```
val isSpeedChangeSupportedForOffload: Boolean
```

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

### supportLevel

```
@AudioOutputProvider.SupportLevel
val supportLevel: Int
```

The level of support for the format.