Пример #1
0
 private bool onChatActivityCancelReceived(ChatServiceEvents.ChatActivityCancelReceived evt)
 {
     if (isSpeechBubbleActive(evt.SessionId))
     {
         WorldSpeechBubble speechBubble = getSpeechBubble(evt.SessionId);
         if (speechBubble != null)
         {
             speechBubble.SetChatInactive();
         }
     }
     return(false);
 }
Пример #2
0
 private bool onSendChatActivityCancel(ChatServiceEvents.SendChatActivityCancel evt)
 {
     if (isSpeechBubbleActive(base.localSessionId))
     {
         WorldSpeechBubble speechBubble = getSpeechBubble(base.localSessionId);
         if (speechBubble != null)
         {
             speechBubble.SetChatInactive();
         }
     }
     return(false);
 }