Package com.twilio.video
Interface TrackPublication
-
- All Known Subinterfaces:
AudioTrackPublication,DataTrackPublication,VideoTrackPublication
- All Known Implementing Classes:
LocalAudioTrackPublication,LocalDataTrackPublication,LocalVideoTrackPublication,RemoteAudioTrackPublication,RemoteDataTrackPublication,RemoteVideoTrackPublication
public interface TrackPublicationA published track represents a track that has been shared with aRoom.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetTrackName()Returns the name of the published track.java.lang.StringgetTrackSid()Returns the track's server identifier.booleanisTrackEnabled()Returns true of track is enabled and false if not.
-
-
-
Method Detail
-
getTrackSid
@NonNull java.lang.String getTrackSid()
Returns the track's server identifier. This value uniquely identifies the track within the scope of aRoom.
-
getTrackName
@NonNull java.lang.String getTrackName()
Returns the name of the published track.
-
isTrackEnabled
boolean isTrackEnabled()
Returns true of track is enabled and false if not.
-
-