OutgoingAudioOptions Class
- java.
lang. Object - com.
azure. android. communication. calling. OutgoingAudioOptions
- com.
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. |
Outgoing |
getFilters()
Start an outgoing or accept incoming call with outgoing audio filter features |
Outgoing |
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) |
Outgoing |
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 |
Outgoing |
setFilters(OutgoingAudioFilters value)
Start an outgoing or accept incoming call with outgoing audio filter features |
Outgoing |
setMuted(boolean value)
Start an outgoing or accept incoming call with microphone muted (true) or un-muted(false) |
Outgoing |
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:
setFilters
public OutgoingAudioOptions setFilters(OutgoingAudioFilters value)
Start an outgoing or accept incoming call with outgoing audio filter features
Parameters:
setMuted
public OutgoingAudioOptions setMuted(boolean value)
Start an outgoing or accept incoming call with microphone muted (true) or un-muted(false)
Parameters:
setStream
public OutgoingAudioOptions setStream(OutgoingAudioStream value)
Outgoing Audio Stream that will be started when the call connects.
Parameters: