Class OutgoingAudioOptions
- Object
-
- OutgoingAudioOptions
-
public final class OutgoingAudioOptions extends ObjectProperty 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 voidfinalize()Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.OutgoingAudioFiltersgetFilters()Start an outgoing or accept incoming call with outgoing audio filter featuresOutgoingAudioStreamgetStream()Outgoing Audio Stream that will be started when the call connects.booleanisCommunicationAudioModeEnabled()Enable or disable AudioManager.MODE_IN_COMMUNICATION for a call.booleanisMuted()Start an outgoing or accept incoming call with microphone muted (true) or un-muted(false)OutgoingAudioOptionssetCommunicationAudioModeEnabled(boolean value)Enable or disable AudioManager.MODE_IN_COMMUNICATION for a call.OutgoingAudioOptionssetFilters(OutgoingAudioFilters value)Start an outgoing or accept incoming call with outgoing audio filter featuresOutgoingAudioOptionssetMuted(boolean value)Start an outgoing or accept incoming call with microphone muted (true) or un-muted(false)OutgoingAudioOptionssetStream(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:
finalizein 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.
-
-