SocialManager Class

Definition

[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Static(typeof(Microsoft.Xbox.Services.Social.Manager.__ISocialManagerStatics), 1)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Version(1)]
public sealed class SocialManager
type SocialManager = class
    interface __ISocialManagerPublicNonVirtuals
Public NotInheritable Class SocialManager
Inheritance
SocialManager
Attributes
Windows.Foundation.Metadata.MarshalingBehaviorAttribute Windows.Foundation.Metadata.StaticAttribute Windows.Foundation.Metadata.ThreadingAttribute Windows.Foundation.Metadata.VersionAttribute

Properties

LocalUsers

Returns all local users who have been added to the social manager

SingletonInstance

Gets the social_manager singleton instance

Methods

AddLocalUser(XboxLiveUser, SocialManagerExtraDetailLevel)
CreateSocialUserGroupFromFilters(XboxLiveUser, PresenceFilter, RelationshipFilter)

Constructs a social social user group, which is a collection of users with social information

CreateSocialUserGroupFromList(XboxLiveUser, IVectorView<String>)
DestroySocialUserGroup(XboxSocialUserGroup)

Destroys a created social social user group This will stop updating the social user group and remove tracking for any users the social user group holds

DoWork()

Called whenever the title wants to update the social graph and get list of change events Events that are returned will only be for the page that is is currently selected Must be called every frame for data to be up to date

RemoveLocalUser(XboxLiveUser)

Removes a social graph for the specified local user

SetRichPresencePollingState(XboxLiveUser, Boolean)

Whether to enable social manager to poll every 30 seconds from the presence service

UpdateSocialUserGroup(XboxSocialUserGroup, IVectorView<String>)

Applies to