onDataReceived method Null safety
- RemoteParticipant participant,
- List<
int> data
Data received from another RemoteParticipant. Data packets provides the ability to use LiveKit to send/receive arbitrary payloads.
Implementation
void onDataReceived(RemoteParticipant participant, List<int> data) {}