ExoPlayer.AudioComponent


@UnstableApi
public interface ExoPlayer.AudioComponent

Known direct subclasses
SimpleExoPlayer

This class is deprecated.

Use ExoPlayer instead.


Summary

Public methods

abstract void

This method is deprecated.

Use clearAuxEffectInfo instead.

abstract AudioAttributes

This method is deprecated.

Use getAudioAttributes instead.

abstract int

This method is deprecated.

Use getAudioSessionId instead.

abstract boolean

This method is deprecated.

Use getSkipSilenceEnabled instead.

abstract float

This method is deprecated.

Use getVolume instead.

abstract void
setAudioAttributes(
    AudioAttributes audioAttributes,
    boolean handleAudioFocus
)

This method is deprecated.

Use setAudioAttributes instead.

abstract void
setAudioSessionId(int audioSessionId)

This method is deprecated.

Use setAudioSessionId instead.

abstract void

This method is deprecated.

Use setAuxEffectInfo instead.

abstract void
setSkipSilenceEnabled(boolean skipSilenceEnabled)

This method is deprecated.

Use setSkipSilenceEnabled instead.

abstract void
setVolume(float audioVolume)

This method is deprecated.

Use setVolume instead.

Public methods

clearAuxEffectInfo

abstract void clearAuxEffectInfo()

getAudioAttributes

abstract AudioAttributes getAudioAttributes()

getAudioSessionId

abstract int getAudioSessionId()

getSkipSilenceEnabled

abstract boolean getSkipSilenceEnabled()

getVolume

abstract float getVolume()

setAudioAttributes

abstract void setAudioAttributes(
    AudioAttributes audioAttributes,
    boolean handleAudioFocus
)

setAudioSessionId

abstract void setAudioSessionId(int audioSessionId)

setAuxEffectInfo

abstract void setAuxEffectInfo(AuxEffectInfo auxEffectInfo)

setSkipSilenceEnabled

abstract void setSkipSilenceEnabled(boolean skipSilenceEnabled)

setVolume

abstract void setVolume(float audioVolume)