Package com.twilio.video
Interface RemoteDataTrack.Listener
- Enclosing class:
- RemoteDataTrack
public static interface RemoteDataTrack.Listener
Interface that provides
RemoteDataTrack
events.-
Method Summary
Modifier and TypeMethodDescriptionvoid
onMessage
(RemoteDataTrack remoteDataTrack, String message) This method notifies the listener that a string message was received.void
onMessage
(RemoteDataTrack remoteDataTrack, ByteBuffer messageBuffer) This method notifies the listener that a binary message was received.
-
Method Details
-
onMessage
This method notifies the listener that a binary message was received.- Parameters:
remoteDataTrack
- Remote data track.messageBuffer
- The binary message received.
-
onMessage
This method notifies the listener that a string message was received.- Parameters:
remoteDataTrack
- Remote data track.message
- The string message received.
-