23. Object Model
Conversation e.g.
BeginSendMessage method
IDictionary<ModalityTypes, Modality>
InstantMessageReceived event
Modalities
property IsTyping property
ModalityTypes.InstantMessage
InstantMessageModality class
ModalityTypes.AudioVideo
AVModality class
e.g.
Participants AudioChannel property
property IList<Participant> VideoChannel property
23
24. Object Model
? Instant message の場合
var imModality =
conversation.Modalities[ModalityTypes.InstantMessage]
as InstantMessageModality;
imModality.BeginSendMessage(
"会話を開始しました!",
ar =>
{
var modality = ar.AsyncState as InstantMessageModality;
modality.EndSendMessage(r);
},
imModality);
24