public class RemoteAudioTrackPublication extends Object implements AudioTrackPublication
RemoteAudioTrack that has been shared to a
Room.| Modifier and Type | Method and Description |
|---|---|
AudioTrack |
getAudioTrack()
Returns the base audio track object of the published remote audio track.
|
RemoteAudioTrack |
getRemoteAudioTrack()
Returns the published remote audio track.
|
String |
getTrackName()
Returns the name of the published audio track.
|
String |
getTrackSid()
Returns the remote audio track's server identifier.
|
boolean |
isTrackEnabled()
Check if remote audio track is enabled.
|
boolean |
isTrackSubscribed()
Check if the remote audio track is subscribed to by the
LocalParticipant. |
public String getTrackSid()
Room.getTrackSid in interface TrackPublicationpublic AudioTrack getAudioTrack()
null is
returned if the track is not subscribed to.getAudioTrack in interface AudioTrackPublicationpublic String getTrackName()
getTrackName in interface TrackPublicationpublic boolean isTrackEnabled()
isTrackEnabled in interface TrackPublicationpublic boolean isTrackSubscribed()
LocalParticipant.public RemoteAudioTrack getRemoteAudioTrack()
null is returned if the track is not
subscribed to.4.0.1