public static interface RemoteDataTrack.Listener
RemoteDataTrack
events.Modifier and Type | Method and Description |
---|---|
void |
onMessage(RemoteDataTrack remoteDataTrack,
java.nio.ByteBuffer messageBuffer)
This method notifies the listener that a binary message was received.
|
void |
onMessage(RemoteDataTrack remoteDataTrack,
java.lang.String message)
This method notifies the listener that a string message was received.
|
void onMessage(@NonNull RemoteDataTrack remoteDataTrack, @NonNull java.nio.ByteBuffer messageBuffer)
remoteDataTrack
- Remote data track.messageBuffer
- The binary message received.void onMessage(@NonNull RemoteDataTrack remoteDataTrack, @NonNull java.lang.String message)
remoteDataTrack
- Remote data track.message
- The string message received.7.0.0