Share via


RemotePresence Members

Class which provide easy access to subscribe for presence for given URIs; it encapsulates the concept of batch subscribe and single subscription and handles it internally.

The RemotePresence type exposes the following members.

Properties

  Name Description
Public property PresenceSubscriptionCategories Gets or sets the list of categories to subscribe for.

Top

Methods

  Name Description
Public method BeginAddTargets Add target in the subscription dispatcher and also start the subscription for given target.
Public method BeginPresenceQuery Begin a presence query request for a given list of targets for the given set of presence categories.
Public method BeginRefresh Invoke the refresh operation on all active subscriptions; the client should expect to receive notifications for targets in this batch, for whom subscription is active.
Public method BeginRemoveAllTargets Invoke Terminate on all existing subscriptions, which are not already terminating.
Public method BeginRemoveTarget Remove target from the subscription dispatcher and start terminating the existing subscription.
Public method EndAddTargets Complete the async operation started by BeginAddTarget.
Public method EndPresenceQuery Complete the async operation initiated by the BeginPresenceQuery.
Public method EndRefresh Complete the async operation started by BeginRefresh.
Public method EndRemoveAllTargets Complete the async operation started by BeginTerminate.
Public method EndRemoveTarget Complete the async operation started by BeginremoveTarget.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetCurrentSubscriptionState Return the current subscription state for a given target.
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Events

  Name Description
Public event PresenceNotificationReceived Event handler that will note presence state changes for any target on the subscription.
Public event PresenceSubscriptionStateChanged Event handler that will note subscription state change for any target.

Top

See Also

Reference

RemotePresence Class

Microsoft.Rtc.Collaboration.Presence Namespace