Class OutgoingAudioOptions
- Object
-
- OutgoingAudioOptions
-
public final class OutgoingAudioOptions extends Object
Property bag class for Outgoing Audio Options. Use this class to set audio settings required during a call (start/join)
-
-
Constructor Summary
Constructors Constructor Description OutgoingAudioOptions()
Creates a new instance with a default configuration
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected 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 featuresOutgoingAudioStream
getStream()
Outgoing Audio Stream that will be started when the call connects.boolean
isCommunicationAudioModeEnabled()
Enable or disable AudioManager.MODE_IN_COMMUNICATION for a call.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.OutgoingAudioOptions
setFilters(OutgoingAudioFilters value)
Start an outgoing or accept incoming call with outgoing audio filter featuresOutgoingAudioOptions
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.
-
-
-
Method Detail
-
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.- Overrides:
finalize
in classObject
-
isMuted
public boolean isMuted()
Start an outgoing or accept incoming call with microphone muted (true) or un-muted(false)
-
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.
-
getFilters
public OutgoingAudioFilters getFilters()
Start an outgoing or accept incoming call with outgoing audio filter features
-
setFilters
public OutgoingAudioOptions setFilters(OutgoingAudioFilters value)
Start an outgoing or accept incoming call with outgoing audio filter features- Parameters:
value
- The new value.
-
getStream
public OutgoingAudioStream getStream()
Outgoing Audio Stream that will be started when the call connects.
-
setStream
public OutgoingAudioOptions setStream(OutgoingAudioStream value)
Outgoing Audio Stream that will be started when the call connects.- Parameters:
value
- The new value.
-
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
-
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.
-
-