Edit

Share via


UserPresenceSettings.UserPresenceState Property

Definition

Gets or sets the user state that will be published as part of the establish operation.

public:
 property Microsoft::Rtc::Collaboration::Presence::PresenceState ^ UserPresenceState { Microsoft::Rtc::Collaboration::Presence::PresenceState ^ get(); void set(Microsoft::Rtc::Collaboration::Presence::PresenceState ^ value); };
public Microsoft.Rtc.Collaboration.Presence.PresenceState UserPresenceState { get; set; }
member this.UserPresenceState : Microsoft.Rtc.Collaboration.Presence.PresenceState with get, set
Public Property UserPresenceState As PresenceState

Property Value

Exceptions

When an incorrect value is supplied.

Remarks

This is only published when AutomaticPresencePublicationEnabled is set to true.

This property is set to null by default and therefore no user state is published. Applications are advised to set it to a valid value.

Applies to