ExoPlayer.AudioComponent


@UnstableApi
interface ExoPlayer.AudioComponent

Known direct subclasses
SimpleExoPlayer

This class is deprecated.

Use ExoPlayer instead.


Summary

Public functions

Unit

This function is deprecated.

Use clearAuxEffectInfo instead.

AudioAttributes!

This function is deprecated.

Use getAudioAttributes instead.

Int

This function is deprecated.

Use getAudioSessionId instead.

Boolean

This function is deprecated.

Use getSkipSilenceEnabled instead.

Float

This function is deprecated.

Use getVolume instead.

Unit
setAudioAttributes(
    audioAttributes: AudioAttributes!,
    handleAudioFocus: Boolean
)

This function is deprecated.

Use setAudioAttributes instead.

Unit
setAudioSessionId(audioSessionId: Int)

This function is deprecated.

Use setAudioSessionId instead.

Unit

This function is deprecated.

Use setAuxEffectInfo instead.

Unit
setSkipSilenceEnabled(skipSilenceEnabled: Boolean)

This function is deprecated.

Use setSkipSilenceEnabled instead.

Unit
setVolume(audioVolume: Float)

This function is deprecated.

Use setVolume instead.

Public functions

clearAuxEffectInfo

fun clearAuxEffectInfo(): Unit

getAudioAttributes

fun getAudioAttributes(): AudioAttributes!

getAudioSessionId

fun getAudioSessionId(): Int

getSkipSilenceEnabled

fun getSkipSilenceEnabled(): Boolean

getVolume

fun getVolume(): Float

setAudioAttributes

fun setAudioAttributes(
    audioAttributes: AudioAttributes!,
    handleAudioFocus: Boolean
): Unit

setAudioSessionId

fun setAudioSessionId(audioSessionId: Int): Unit

setAuxEffectInfo

fun setAuxEffectInfo(auxEffectInfo: AuxEffectInfo!): Unit

setSkipSilenceEnabled

fun setSkipSilenceEnabled(skipSilenceEnabled: Boolean): Unit

setVolume

fun setVolume(audioVolume: Float): Unit