Class RemoteDataTrack

  • All Implemented Interfaces:
    Track

    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 Detail

      • getSid

        @NonNull
        public java.lang.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.
        Parameters:
        listener - data track listener