Edit

Share via


PresenceService Class

Definition

Represents a service for Rich Presence features.

[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Version(1)]
public sealed class PresenceService
type PresenceService = class
    interface __IPresenceServicePublicNonVirtuals
    interface __IPresenceServiceProtectedNonVirtuals
Public NotInheritable Class PresenceService
Inheritance
PresenceService
Attributes
Windows.Foundation.Metadata.MarshalingBehaviorAttribute Windows.Foundation.Metadata.ThreadingAttribute Windows.Foundation.Metadata.VersionAttribute

Methods

GetPresenceAsync(String)

Gets presence info for a specific Xbox User Id.

GetPresenceForMultipleUsersAsync(IVectorView<String>)
GetPresenceForMultipleUsersAsync(IVectorView<String>, IVectorView<PresenceDeviceType>, IVectorView<UInt32>, PresenceDetailLevel, Boolean, Boolean)
GetPresenceForSocialGroupAsync(String)

Gets presence info for a specific group of users.

GetPresenceForSocialGroupAsync(String, String, IVectorView<PresenceDeviceType>, IVectorView<UInt32>, PresenceDetailLevel, Boolean, Boolean)
SetPresenceAsync(Boolean)

Sets presence info for the current user context.

SetPresenceAsync(Boolean, PresenceData)

Sets presence info for the current user context.

SubscribeToDevicePresenceChange(String)

Subscribes to device presence change notifications via the DevicePresenceChanged event

SubscribeToTitlePresenceChange(String, UInt32)

Subscribes to title presence change notifications via the TitlePresenceChanged event

UnsubscribeFromDevicePresenceChange(DevicePresenceChangeSubscription)

Unsubscribes a previously created device presence change subscription

UnsubscribeFromTitlePresenceChange(TitlePresenceChangeSubscription)

Unsubscribes a previously created title presence change subscription

Events

DevicePresenceChanged

Registers for device presence change notifications. Event handlers will receive DevicePresenceChangeEventArgs^.

TitlePresenceChanged

Registers for title presence change notifications. Event handlers will receive TitlePresenceChangeEventArgs^.

Applies to