AudioOffloadSupport
@UnstableApi
public final class AudioOffloadSupport
Represents the support capabilities for audio offload playback.
Summary
Nested types |
|---|
public final class AudioOffloadSupport.BuilderA builder to create |
Constants |
|
|---|---|
static final AudioOffloadSupport |
The default configuration. |
Public fields |
|
|---|---|
final boolean |
Whether the format is supported with offload playback. |
final boolean |
Whether playback of the format is supported with gapless transitions. |
final boolean |
Whether playback of the format is supported with speed changes. |
Public methods |
|
|---|---|
AudioOffloadSupport.Builder |
Creates a new |
boolean |
|
int |
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 Builder, copying the initial values from this instance.