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