public class RemoteDataTrackPublication extends Object implements DataTrackPublication
RemoteDataTrack.| Modifier and Type | Method and Description |
|---|---|
DataTrack |
getDataTrack()
Returns the base data track object of the published remote data track.
|
RemoteDataTrack |
getRemoteDataTrack()
Returns the published remote data track.
|
String |
getTrackName()
Returns the name of the published data track.
|
String |
getTrackSid()
Returns the remote data track's server identifier.
|
boolean |
isTrackEnabled()
Returns true if the published data track is enabled or false otherwise.
|
boolean |
isTrackSubscribed()
Check if the remote data track is subscribed to by the
LocalParticipant. |
public String getTrackSid()
Room.getTrackSid in interface TrackPublicationpublic DataTrack getDataTrack()
null is
returned if the track is not subscribed to.getDataTrack in interface DataTrackPublicationpublic String getTrackName()
getTrackName in interface TrackPublicationpublic boolean isTrackEnabled()
isTrackEnabled in interface TrackPublicationpublic boolean isTrackSubscribed()
LocalParticipant.public RemoteDataTrack getRemoteDataTrack()
null is returned if the track is not
subscribed to.4.0.1