RawIncomingAudioStream Class
- java.
lang. Object - CallAudioStream
- IncomingAudioStream
- com.
azure. android. communication. calling. RawIncomingAudioStream
- com.
public class RawIncomingAudioStream extends IncomingAudioStream
An audio stream that utilizes a virtual device for receiving audio
Constructor Summary
Constructor | Description |
---|---|
RawIncomingAudioStream(RawIncomingAudioStreamOptions options) |
Default constructor |
Method Summary
Modifier and Type | Method and Description |
---|---|
void |
addOnMixedAudioBufferReceivedListener(IncomingMixedAudioListener listener)
Adds the specified listener to receive OnMixedAudioBufferReceived events. An event for when a new mixed audio buffer is available. |
void |
addOnStateChangedListener(AudioStreamStateChangedListener listener)
Adds the specified listener to receive OnStateChanged events. An event that occurs when a given audio stream state changes. |
void |
removeOnMixedAudioBufferReceivedListener(IncomingMixedAudioListener listener)
Removes the specified listener to receive OnMixedAudioBufferReceived events. An event for when a new mixed audio buffer is available. |
void |
removeOnStateChangedListener(AudioStreamStateChangedListener listener)
Removes the specified listener to receive OnStateChanged events. An event that occurs when a given audio stream state changes. |
Inherited Members
Constructor Details
RawIncomingAudioStream
public RawIncomingAudioStream(RawIncomingAudioStreamOptions options)
Default constructor
Parameters:
Method Details
addOnMixedAudioBufferReceivedListener
public void addOnMixedAudioBufferReceivedListener(IncomingMixedAudioListener listener)
Adds the specified listener to receive OnMixedAudioBufferReceived events. An event for when a new mixed audio buffer is available.
Parameters:
addOnStateChangedListener
public void addOnStateChangedListener(AudioStreamStateChangedListener listener)
Adds the specified listener to receive OnStateChanged events. An event that occurs when a given audio stream state changes.
Parameters:
removeOnMixedAudioBufferReceivedListener
public void removeOnMixedAudioBufferReceivedListener(IncomingMixedAudioListener listener)
Removes the specified listener to receive OnMixedAudioBufferReceived events. An event for when a new mixed audio buffer is available.
Parameters:
removeOnStateChangedListener
public void removeOnStateChangedListener(AudioStreamStateChangedListener listener)
Removes the specified listener to receive OnStateChanged events. An event that occurs when a given audio stream state changes.
Parameters: