是否可以使用 Lync SDK 获取联系人状态历史记录,或者监控和存储状态历史记录?
问问题
217 次
1 回答
0
您可以编写一个订阅用户状态的应用程序,然后从他们的 StatusChanged 事件中写入某种状态历史日志。
小起点:
在 Endpoint 上创建状态视图:
var presenceView = new RemotePresenceView(endpoint, new RemotePresenceViewSettings());
订阅PresenceNotificationReceived
活动:
presenceView.PresenceNotificationReceived += OnPresenceNotificationReceived;
并处理此事件:
private void PresenceNotificationReceived(object sender, RemotePresentitiesNotificationEventArgs e)
{
foreach (var notification in e.Notifications)
{
// Store the notification somewhere
}
}
于 2012-11-27T12:57:47.200 回答