Class RemoteDataTrack

All Implemented Interfaces:

public class RemoteDataTrack extends DataTrack
A remote data track represents a unidirectional remote data source from which messages can be received from a participant.
  • Method Details

    • getSid

      @NonNull public String getSid()
      Returns the remote data track's server identifier. This value uniquely identifies the remote data track within the scope of a Room.
    • setListener

      public void setListener(@Nullable RemoteDataTrack.Listener listener)
      Set the remote data track listener. The thread on which this method is called is the same thread used to notify of received data track messages.
      listener - data track listener