Lync SDK を使用して連絡先のステータスの履歴を取得したり、ステータスの履歴を監視および保存したりすることはできますか?
1 に答える
0
ユーザー プレゼンスをサブスクライブするアプリケーションを作成し、StatusChanged イベントからある種のステータス履歴ログを書き込むことができます。
小さな出発点:
エンドポイントでプレゼンス ビューを作成します。
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 に答える