Edit

Share via


SocialService Class

Definition

Defines access methods that return social relationship information between the user and one or more other Xbox Live users.

[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 SocialService
type SocialService = class
    interface __ISocialServicePublicNonVirtuals
    interface __ISocialServiceProtectedNonVirtuals
Public NotInheritable Class SocialService
Inheritance
SocialService
Attributes
Windows.Foundation.Metadata.MarshalingBehaviorAttribute Windows.Foundation.Metadata.ThreadingAttribute Windows.Foundation.Metadata.VersionAttribute

Methods

GetSocialRelationshipsAsync()

Returns a XboxSocialRelationshipResult containing a the list of people that the user is connected to. Defaults to filtering to PersonView.All Defaults to startIndex and maxItems of 0 to return entire list if possible

GetSocialRelationshipsAsync(SocialRelationship)

Returns a XboxSocialRelationshipResult containing a the list of people that the user is connected to.

GetSocialRelationshipsAsync(SocialRelationship, UInt32, UInt32)

Returns a XboxSocialRelationshipResult containing a the list of people that the user is connected to.

GetSocialRelationshipsAsync(String)
SubscribeToSocialRelationshipChange(String)

Subscribes to social relationship change notifications via the SocialRelationshipChanged event

UnsubscribeFromSocialRelationshipChange(SocialRelationshipChangeSubscription)

Unsubscribes a previously created social relationship change subscription

Events

SocialRelationshipChanged

Registers for social relationship change notifications. Event handlers will receive SocialRelationshipChangeEventArgs^.

Applies to