public interface

ExoPlayer.AudioComponent

 androidx.media3.exoplayer.ExoPlayer.AudioComponent

Subclasses:

SimpleExoPlayer

Summary

Methods
public voidclearAuxEffectInfo()

public AudioAttributesgetAudioAttributes()

public intgetAudioSessionId()

public booleangetSkipSilenceEnabled()

public floatgetVolume()

public voidsetAudioAttributes(AudioAttributes audioAttributes, boolean handleAudioFocus)

public voidsetAudioSessionId(int audioSessionId)

public voidsetAuxEffectInfo(AuxEffectInfo auxEffectInfo)

public voidsetSkipSilenceEnabled(boolean skipSilenceEnabled)

public voidsetVolume(float audioVolume)

Methods

public void setAudioAttributes(AudioAttributes audioAttributes, boolean handleAudioFocus)

Deprecated: Use Player.setAudioAttributes(AudioAttributes, boolean) instead.

public AudioAttributes getAudioAttributes()

Deprecated: Use Player.getAudioAttributes() instead.

public void setAudioSessionId(int audioSessionId)

Deprecated: Use ExoPlayer.setAudioSessionId(int) instead.

public int getAudioSessionId()

Deprecated: Use ExoPlayer.getAudioSessionId() instead.

public void setAuxEffectInfo(AuxEffectInfo auxEffectInfo)

Deprecated: Use ExoPlayer.setAuxEffectInfo(AuxEffectInfo) instead.

public void clearAuxEffectInfo()

Deprecated: Use ExoPlayer.clearAuxEffectInfo() instead.

public void setVolume(float audioVolume)

Deprecated: Use Player.setVolume(float) instead.

public float getVolume()

Deprecated: Use Player.getVolume() instead.

public void setSkipSilenceEnabled(boolean skipSilenceEnabled)

Deprecated: Use ExoPlayer.setSkipSilenceEnabled(boolean) instead.

public boolean getSkipSilenceEnabled()

Deprecated: Use ExoPlayer.getSkipSilenceEnabled() instead.