streamMessage property

StreamMessageCallback? streamMessage
getter/setter pair

Occurs when the local user receives the data stream from the remote user. The SDK triggers this callback when the local user receives the stream message that the remote user sends by calling the sendStreamMessage method.

Param uid The ID of the remote user sending the message.

Param streamId The stream ID of the received message.

Param data The data received.

Implementation

StreamMessageCallback? streamMessage;