기술 자료

지원

Vivox Core SDK

Vivox Core SDK

Receive a channel message

Learn about voice channels in Vivox Core.
읽는 시간 1분최근 업데이트: 하루 전

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);};