Documentation

Support

Vivox Core SDK

Vivox Core SDK

Receive a channel message

Learn about voice channels in Vivox Core.
Read time 1 minuteLast updated 2 months ago

To receive a channel message, bind a method to IChannelSession.MessageLog.AfterItemAdded. The following code snippet displays an example binding that debugs the message’s sender and intended message:
channelSession.MessageLog.AfterItemAdded += (sender, args) =>{ Debug.Log(args.Value.Sender + ": " + args.Value.Message);};