GameService GameService GameService GameService GameService Class

Definition

Provides access to the game service.

public : static class GameService
static struct winrt::Windows::Phone::System::UserProfile::GameServices::Core::GameService
public static class GameService
Public Static Class GameService
// This class does not provide a public constructor.
Attributes
Windows 10 requirements
Device family
Windows Mobile Extension SDK (introduced v10.0.10240.0)
API contract
Windows.Phone.PhoneContract (introduced v1)

Remarks

All members of the Windows.Phone.System.UserProfile.GameServices.Core namespace can only be used by the XBox Live SDK. These APIs cannot be called except by applications that have the ID_CAP_GAMERSERVICES capability.

Properties

ServiceUri ServiceUri ServiceUri ServiceUri ServiceUri

Gets the Uri of the game service.

Methods

GetAuthenticationStatus() GetAuthenticationStatus() GetAuthenticationStatus() GetAuthenticationStatus() GetAuthenticationStatus()

Gets the last authentication result from the game service.

GetGamerProfileAsync() GetGamerProfileAsync() GetGamerProfileAsync() GetGamerProfileAsync() GetGamerProfileAsync()

Retrieves the gamer profile for the current user.

GetInstalledGameItemsAsync() GetInstalledGameItemsAsync() GetInstalledGameItemsAsync() GetInstalledGameItemsAsync() GetInstalledGameItemsAsync()

Retrieves the currently installed game items.

GetPartnerTokenAsync(Uri) GetPartnerTokenAsync(Uri) GetPartnerTokenAsync(Uri) GetPartnerTokenAsync(Uri) GetPartnerTokenAsync(Uri)

Retrieves the partner token for the specified Uri.

GetPrivilegesAsync() GetPrivilegesAsync() GetPrivilegesAsync() GetPrivilegesAsync() GetPrivilegesAsync()

Retrieves the privilege string for the current user.

GrantAchievement(UInt32) GrantAchievement(UInt32) GrantAchievement(UInt32) GrantAchievement(UInt32) GrantAchievement(UInt32)

Grants the specified achievement to the current user.

GrantAvatarAward(UInt32) GrantAvatarAward(UInt32) GrantAvatarAward(UInt32) GrantAvatarAward(UInt32) GrantAvatarAward(UInt32)

Grants the specified avatar award to the current user.

NotifyPartnerTokenExpired(Uri) NotifyPartnerTokenExpired(Uri) NotifyPartnerTokenExpired(Uri) NotifyPartnerTokenExpired(Uri) NotifyPartnerTokenExpired(Uri)

Invalidate the cached partner token for the specified Uri.

PostResult(UInt32, GameServiceScoreKind, Int64, GameServiceGameOutcome, IBuffer) PostResult(UInt32, GameServiceScoreKind, Int64, GameServiceGameOutcome, IBuffer) PostResult(UInt32, GameServiceScoreKind, Int64, GameServiceGameOutcome, IBuffer) PostResult(UInt32, GameServiceScoreKind, Int64, GameServiceGameOutcome, IBuffer) PostResult(UInt32, GameServiceScoreKind, Int64, GameServiceGameOutcome, IBuffer)

Terminate and post the results of a game.