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

*** ** * ** ***


```
@UnstableApi
public final class AudioOffloadSupport
```

<br />

*** ** * ** ***

Represents the support capabilities for audio offload playback.

## Summary

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

| ### Constants |
|---|---|
| `static final https://developer.android.com/reference/androidx/media3/exoplayer/audio/AudioOffloadSupport` | `https://developer.android.com/reference/androidx/media3/exoplayer/audio/AudioOffloadSupport#DEFAULT_UNSUPPORTED()` The default configuration. |

| ### Public fields |
|---|---|
| `final boolean` | `https://developer.android.com/reference/androidx/media3/exoplayer/audio/AudioOffloadSupport#isFormatSupported()` Whether the format is supported with offload playback. |
| `final boolean` | `https://developer.android.com/reference/androidx/media3/exoplayer/audio/AudioOffloadSupport#isGaplessSupported()` Whether playback of the format is supported with gapless transitions. |
| `final boolean` | `https://developer.android.com/reference/androidx/media3/exoplayer/audio/AudioOffloadSupport#isSpeedChangeSupported()` Whether playback of the format is supported with speed changes. |

| ### Public methods |
|---|---|
| `https://developer.android.com/reference/androidx/media3/exoplayer/audio/AudioOffloadSupport.Builder` | `https://developer.android.com/reference/androidx/media3/exoplayer/audio/AudioOffloadSupport#buildUpon()()` Creates a new `https://developer.android.com/reference/androidx/media3/exoplayer/audio/AudioOffloadSupport.Builder`, copying the initial values from this instance. |
| `boolean` | `https://developer.android.com/reference/androidx/media3/exoplayer/audio/AudioOffloadSupport#equals(java.lang.Object)(@https://developer.android.com/reference/androidx/annotation/Nullable https://developer.android.com/reference/java/lang/Object.html obj)` |
| `int` | `https://developer.android.com/reference/androidx/media3/exoplayer/audio/AudioOffloadSupport#hashCode()()` |

## Constants

### DEFAULT_UNSUPPORTED

```
public static final AudioOffloadSupport DEFAULT_UNSUPPORTED
```

The default configuration.

## Public fields

### isFormatSupported

```
public final boolean isFormatSupported
```

Whether the format is supported with offload playback.

### isGaplessSupported

```
public final boolean isGaplessSupported
```

Whether playback of the format is supported with gapless transitions.

### isSpeedChangeSupported

```
public final boolean isSpeedChangeSupported
```

Whether playback of the format is supported with speed changes.

## Public methods

### buildUpon

```
public AudioOffloadSupport.Builder buildUpon()
```

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

### equals

```
public boolean equals(@Nullable Object obj)
```

### hashCode

```
public int hashCode()
```