onDataReceived method Null safety

void onDataReceived(
  1. RemoteParticipant participant,
  2. 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) {}