Compartilhar via


IncomingAudioOptions Class

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

public class IncomingAudioOptions

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

Constructor Summary

Constructor Description
IncomingAudioOptions()

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.

IncomingAudioStream getStream()

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

boolean isMuted()

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

IncomingAudioOptions setMuted(boolean value)

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

IncomingAudioOptions setStream(IncomingAudioStream value)

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

Constructor Details

IncomingAudioOptions

public IncomingAudioOptions()

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.

getStream

public IncomingAudioStream getStream()

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

isMuted

public boolean isMuted()

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

setMuted

public IncomingAudioOptions setMuted(boolean value)

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

Parameters:

value - The new value.

setStream

public IncomingAudioOptions setStream(IncomingAudioStream value)

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

Parameters:

value - The new value.

Applies to