关于c#中UCCAPI的澄清
使用 UCCAPI 是否可以识别消息通过哪个客户端发送,例如:如果我通过 Microsoft Office Communicator(MOC) 或自定义客户端接收
例如,如果 10 人正在使用自定义客户端,如果 3 人未登录。但他们登录了 MOC,是否可以显示他们在自定义客户端中处于离线状态吗?。
Using UCCAPI is it possible to identify through which client the message is comming for eg : if i am receiving thru Microsoft Office Communicator(MOC) or Custom Client
Say for Ex if 10 people are using the Custom Client if 3 are not signed in. but they signed in MOC is it possible to show they are in offline from custom client?.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
1 - 在使用 UCCAPI 构建的自定义应用程序中,可以在 MOC 到达传入消息之前检查传入消息,并决定是否接受、忽略或拒绝该消息。我相信您可以从发送消息的自定义应用程序传递一些上下文,并且可以由接收消息的自定义应用程序进行检查。这将告诉您是您的自定义客户端还是 MOC 客户端发送了消息。
2 - 可以使用 自定义状态来执行此操作,虽然我还没有尝试过。
抱歉,我无法提供更多帮助 - 您可能会在 上解决这个问题UCCAPI论坛
1 - In a custom application built using UCCAPI, it is possible to examine the incoming message before MOC gets to it, and decide whether to accept, ignore or reject the message. I believe you can pass some context through from the custom application that is sending the message, and this can be examined by the custom app receiving the message. That would tell you whether it was your custom client or the MOC client that sent the message.
2 - It might be possible to do this using Custom Presence States, although I haven't tried it.
Sorry I can't be more help - you might have more luck with this question on the UCCAPI forum