# AudioOffloadSupport

# AudioOffloadSupport

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

*** ** * ** ***

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

<br />

```
@UnstableApi
class AudioOffloadSupport
```

<br />

*** ** * ** ***

Represents the support capabilities for audio offload playback.

## Summary

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

|                                                            ### Constants                                                             |
|--------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `const `[AudioOffloadSupport](https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/audio/AudioOffloadSupport)`!` | [DEFAULT_UNSUPPORTED](https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/audio/AudioOffloadSupport#DEFAULT_UNSUPPORTED()) The default configuration. |

|                                                             ### Public functions                                                             |
|----------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [AudioOffloadSupport.Builder](https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/audio/AudioOffloadSupport.Builder)`!` | [buildUpon](https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/audio/AudioOffloadSupport#buildUpon())`()` Creates a new[Builder](https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/audio/AudioOffloadSupport.Builder), copying the initial values from this instance. |
| [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)                                                          | [equals](https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/audio/AudioOffloadSupport#equals(java.lang.Object))`(obj: `[Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html)`?)`                                                                                       |
| [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)                                                                  | [hashCode](https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/audio/AudioOffloadSupport#hashCode())`()`                                                                                                                                                                                      |

|                                ### Public properties                                |
|-------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html) | [isFormatSupported](https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/audio/AudioOffloadSupport#isFormatSupported()) Whether the format is supported with offload playback.                    |
| [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html) | [isGaplessSupported](https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/audio/AudioOffloadSupport#isGaplessSupported()) Whether playback of the format is supported with gapless transitions.   |
| [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html) | [isSpeedChangeSupported](https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/audio/AudioOffloadSupport#isSpeedChangeSupported()) Whether playback of the format is supported with speed changes. |

## Constants

### DEFAULT_UNSUPPORTED

```
const val DEFAULT_UNSUPPORTED: AudioOffloadSupport!
```

The default configuration.  

## Public functions

### buildUpon

```
fun buildUpon(): AudioOffloadSupport.Builder!
```

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

### equals

```
fun equals(obj: Any?): Boolean
```  

### hashCode

```
fun hashCode(): Int
```  

## Public properties

### isFormatSupported

```
val isFormatSupported: Boolean
```

Whether the format is supported with offload playback.  

### isGaplessSupported

```
val isGaplessSupported: Boolean
```

Whether playback of the format is supported with gapless transitions.  

### isSpeedChangeSupported

```
val isSpeedChangeSupported: Boolean
```

Whether playback of the format is supported with speed changes.