次の方法で共有


OutgoingAudioOptions Class

  • java.lang.Object
    • com.azure.android.communication.calling.OutgoingAudioOptions

public class OutgoingAudioOptions

Property bag class for Outgoing Audio Options. Use this class to set audio settings required during a call (start/join)

Constructor Summary

Constructor Description
OutgoingAudioOptions()

Creates a new instance with a default configuration

Method Summary

Modifier and Type Method and Description
void finalize()

Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.

OutgoingAudioFilters getFilters()

Start an outgoing or accept incoming call with outgoing audio filter features

OutgoingAudioStream getStream()

Outgoing Audio Stream that will be started when the call connects.

boolean isCommunicationAudioModeEnabled()

Enable or disable AudioManager.MODE_IN_COMMUNICATION for a call. Enabled by default unless set to false. https://developer.android.com/reference/android/media/AudioManager#MODE_IN_COMMUNICATION

boolean isMuted()

Start an outgoing or accept incoming call with microphone muted (true) or un-muted(false)

OutgoingAudioOptions setCommunicationAudioModeEnabled(boolean value)

Enable or disable AudioManager.MODE_IN_COMMUNICATION for a call. Enabled by default unless set to false. https://developer.android.com/reference/android/media/AudioManager#MODE_IN_COMMUNICATION

OutgoingAudioOptions setFilters(OutgoingAudioFilters value)

Start an outgoing or accept incoming call with outgoing audio filter features

OutgoingAudioOptions setMuted(boolean value)

Start an outgoing or accept incoming call with microphone muted (true) or un-muted(false)

OutgoingAudioOptions setStream(OutgoingAudioStream value)

Outgoing Audio Stream that will be started when the call connects.

Constructor Details

OutgoingAudioOptions

public OutgoingAudioOptions()

Creates a new instance with a default configuration

Method Details

finalize

protected void finalize()

Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.

getFilters

public OutgoingAudioFilters getFilters()

Start an outgoing or accept incoming call with outgoing audio filter features

getStream

public OutgoingAudioStream getStream()

Outgoing Audio Stream that will be started when the call connects.

isCommunicationAudioModeEnabled

public boolean isCommunicationAudioModeEnabled()

Enable or disable AudioManager.MODE_IN_COMMUNICATION for a call. Enabled by default unless set to false. https://developer.android.com/reference/android/media/AudioManager#MODE_IN_COMMUNICATION

isMuted

public boolean isMuted()

Start an outgoing or accept incoming call with microphone muted (true) or un-muted(false)

setCommunicationAudioModeEnabled

public OutgoingAudioOptions setCommunicationAudioModeEnabled(boolean value)

Enable or disable AudioManager.MODE_IN_COMMUNICATION for a call. Enabled by default unless set to false. https://developer.android.com/reference/android/media/AudioManager#MODE_IN_COMMUNICATION

Parameters:

value - The new value.

setFilters

public OutgoingAudioOptions setFilters(OutgoingAudioFilters value)

Start an outgoing or accept incoming call with outgoing audio filter features

Parameters:

value - The new value.

setMuted

public OutgoingAudioOptions setMuted(boolean value)

Start an outgoing or accept incoming call with microphone muted (true) or un-muted(false)

Parameters:

value - The new value.

setStream

public OutgoingAudioOptions setStream(OutgoingAudioStream value)

Outgoing Audio Stream that will be started when the call connects.

Parameters:

value - The new value.

Applies to