Share via


RemotePresenceView.PresenceSubscriptionCategories Property

Gets the list of categories for which presence information will be returned.

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

Syntax

'Declaration
Public ReadOnly Property PresenceSubscriptionCategories As ReadOnlyCollection(Of String)
    Get
'Usage
Dim instance As RemotePresenceView
Dim value As ReadOnlyCollection(Of String)

value = instance.PresenceSubscriptionCategories
public ReadOnlyCollection<string> PresenceSubscriptionCategories { get; }

Property Value

Type: System.Collections.ObjectModel.ReadOnlyCollection<String>

Remarks

This property is initialized with Microsoft.Rtc.Collaboration.LocalEndpoint.PresenceServices.PresenceSubscriptionCategories for persistent subscriptions. If the SubscriptionMode is Polling, this value can be changed using the method SetPresenceSubscriptionCategoriesForPolling(IEnumerable<String>).

See Also

Reference

RemotePresenceView Class

RemotePresenceView Members

Microsoft.Rtc.Collaboration.Presence Namespace