Dela via


PresenceState Class

This class represents the state presence category and denotes the availability of a presentity.

Inheritance Hierarchy

System.Object
  Microsoft.Rtc.Collaboration.Presence.PresenceCategory
    Microsoft.Rtc.Collaboration.Presence.PresenceState

Namespace:  Microsoft.Rtc.Collaboration.Presence
Assembly:  Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)

Syntax

'Declaration
Public Class PresenceState _
    Inherits PresenceCategory
'Usage
Dim instance As PresenceState
public class PresenceState : PresenceCategory

Remarks

UserEndpoints are strongly advised to use the BeginPublishPresence(ICollection<PresenceCategory>, AsyncCallback, Object) API so that the instance is published in appropriate containers that allow the aggregation script to react accordingly.

Application endpoints usually prefer to skip any aggregation logic and publish their aggregate state directly since they don't do any watcher management.

When subscribing to remote presentities, this category is automated requested for.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

PresenceState Members

Microsoft.Rtc.Collaboration.Presence Namespace

PresenceCategory