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 TrackPublication
public DataTrack getDataTrack()
null
is
returned if the track is not subscribed to.getDataTrack
in interface DataTrackPublication
public String getTrackName()
getTrackName
in interface TrackPublication
public boolean isTrackEnabled()
isTrackEnabled
in interface TrackPublication
public boolean isTrackSubscribed()
LocalParticipant
.public RemoteDataTrack getRemoteDataTrack()
null
is returned if the track is not
subscribed to.