1

Lync SDK を使用して連絡先のステータスの履歴を取得したり、ステータスの履歴を監視および保存したりすることはできますか?

4

1 に答える 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 に答える