Edit

Share via


XboxLiveContext Class

Definition

Defines methods used to retrieve objects that in turn provide access to different Xbox Live service components.

Note: the XboxLiveContext is unique per instance. Changing state on one instance for a user does not affect a second instance of the context for the same user. Using multiple instances can therefore result in unexpected behavior. Titles should ensure to only use one instance of the XboxLiveContext per user.

[Windows.Foundation.Metadata.Activatable(typeof(Microsoft.Xbox.Services.__IXboxLiveContextFactory), 1)]
[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 XboxLiveContext
type XboxLiveContext = class
    interface __IXboxLiveContextPublicNonVirtuals
Public NotInheritable Class XboxLiveContext
Inheritance
XboxLiveContext
Attributes
Windows.Foundation.Metadata.ActivatableAttribute Windows.Foundation.Metadata.MarshalingBehaviorAttribute Windows.Foundation.Metadata.ThreadingAttribute Windows.Foundation.Metadata.VersionAttribute

Constructors

XboxLiveContext(XboxLiveUser)

Properties

AchievementService

Returns object containing access methods to the Xbox Achievement service.

AppConfig

Returns an object containing Xbox Live app config such as title ID

ClubsService

Returns object containing access methods to the title clubs service.

ContextualSearchService

Returns object containing access methods to the contextual search service.

EventsService

Returns object containing access methods to the events service.

GameServerPlatformService

Returns object containing access methods to the GameServerPlatform service.

LeaderboardService

Returns object containing access methods to the Xbox Leaderboard service.

MatchmakingService

Returns object containing access methods to the Xbox Matchmaking service.

MultiplayerService

Returns object containing access methods to the Xbox Multiplayer service.

PresenceService

Returns object containing access methods to the Presence service.

PrivacyService

Returns object containing access methods to the Privacy service.

ProfileService

Returns object containing access methods to the Xbox Profile service.

RealTimeActivityService

Returns object containing access methods to the Xbox Real Time Activity service.

ReputationService

Returns object containing access methods to the Xbox Reputation service.

Settings

Returns an object containing settings that apply to all REST calls made such as retry and diagnostic settings.

SocialService

Returns object containing access methods to the Xbox Social service.

StringService

Returns object containing access methods to the Xbox String service.

TitleStorageService

Returns object containing access methods to the TitleStorage service.

TournamentService

Returns object containing access methods to the Xbox Tournament service.

User

Returns the associated system user.

UserStatisticsService

Returns object containing access methods to the Xbox User Stats service.

Applies to