public class LocalDataTrackPublication extends Object implements DataTrackPublication
LocalDataTrack
that has been shared to a
Room
.Modifier and Type | Method and Description |
---|---|
DataTrack |
getDataTrack()
Unlike
DataTrackPublication or RemoteDataTrackPublication this DataTrack is guaranteed to be non null. |
LocalDataTrack |
getLocalDataTrack()
Returns the published local data track.
|
String |
getTrackName()
Returns the name of the local data track.
|
String |
getTrackSid()
Returns the local data track's server identifier.
|
boolean |
isTrackEnabled()
Check if local data track is enabled.
|
public String getTrackSid()
Room
.getTrackSid
in interface TrackPublication
public String getTrackName()
getTrackName
in interface TrackPublication
public boolean isTrackEnabled()
isTrackEnabled
in interface TrackPublication
public DataTrack getDataTrack()
DataTrackPublication
or RemoteDataTrackPublication
this DataTrack
is guaranteed to be non null.getDataTrack
in interface DataTrackPublication
LocalDataTrackPublication
,
RemoteDataTrackPublication
public LocalDataTrack getLocalDataTrack()
5.1.2