Receive a channel message
Learn about voice channels in Vivox Core.
読み終わるまでの所要時間 1 分最終更新 2日前
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);};