public abstract class AudioTrack extends java.lang.Object implements Track
Modifier and Type | Field and Description |
---|---|
protected java.util.HashMap<AudioSink,com.twilio.video.AudioSinkProxy> |
audioSinks |
Modifier and Type | Method and Description |
---|---|
void |
addSink(AudioSink audioSink)
Adds a sink to the Track.
|
java.lang.String |
getName()
Returns the audio track name.
|
boolean |
isEnabled()
Check if this audio track is enabled.
|
void |
removeSink(AudioSink audioSink)
Removes a sink from the Track.
|
protected final java.util.HashMap<AudioSink,com.twilio.video.AudioSinkProxy> audioSinks
public boolean isEnabled()
@NonNull public java.lang.String getName()
public void addSink(@NonNull AudioSink audioSink)
public void removeSink(@NonNull AudioSink audioSink)
audioSink
- An object that implements the `AudioSink` interface.6.0.0