Package 

Interface RemoteDataTrack.Listener

    • Method Summary

      Modifier and Type Method Description
      abstract void onMessage(@NonNull() RemoteDataTrack remoteDataTrack, @NonNull() ByteBuffer messageBuffer) This method notifies the listener that a binary message was received.
      abstract void onMessage(@NonNull() RemoteDataTrack remoteDataTrack, @NonNull() String message) This method notifies the listener that a string message was received.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • onMessage

         abstract void onMessage(@NonNull() RemoteDataTrack remoteDataTrack, @NonNull() ByteBuffer messageBuffer)

        This method notifies the listener that a binary message was received.

        Parameters:
        remoteDataTrack - Remote data track.
        messageBuffer - The binary message received.
      • onMessage

         abstract void onMessage(@NonNull() RemoteDataTrack remoteDataTrack, @NonNull() String message)

        This method notifies the listener that a string message was received.

        Parameters:
        remoteDataTrack - Remote data track.
        message - The string message received.