VIMessageReceived typedef

VIMessageReceived = void Function(VICall call, String message)

Signature for callbacks reporting that message is received within the call.

Implemented atop SIP INFO for communication between call endpoint and the Voximplant Cloud, and is separated from Voximplant messaging API.

Used in VICall.

call - VICall instance initiated the event

message - Content of the message

Implementation

typedef void VIMessageReceived(VICall call, String message);