AudioOutputProvider.FormatSupport


class AudioOutputProvider.FormatSupport


Level of support for an audio format by the provider.

Summary

Nested types

A builder to create FormatSupport instances.

Constants

const AudioOutputProvider.FormatSupport!

Level of support for an unsupported format.

Public functions

AudioOutputProvider.FormatSupport.Builder!

Creates a new Builder, copying the initial values from this instance.

Public properties

Boolean

Whether the format is supported with offload playback.

Boolean

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

Boolean

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

Int

The level of support for the format.

Constants

UNSUPPORTED

const val UNSUPPORTEDAudioOutputProvider.FormatSupport!

Level of support for an unsupported format.

Public functions

buildUpon

fun buildUpon(): AudioOutputProvider.FormatSupport.Builder!

Creates a new Builder, copying the initial values from this instance.

Public properties

isFormatSupportedForOffload

val isFormatSupportedForOffloadBoolean

Whether the format is supported with offload playback.

isGaplessSupportedForOffload

val isGaplessSupportedForOffloadBoolean

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

isSpeedChangeSupportedForOffload

val isSpeedChangeSupportedForOffloadBoolean

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

supportLevel

@AudioOutputProvider.SupportLevel
val supportLevelInt

The level of support for the format.