GameService.GrantAchievement method

Applies to Windows Phone only

Grants the specified achievement to the current user.

Syntax

Public Shared Sub GrantAchievement(
  achievementId As UInteger 
)

Parameters

achievementId

Type: System.UInt32 [.NET] | uint32 [C++]

The identifier of the achievement.

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.

Requirements

Minimum supported client

None supported

Minimum supported server

None supported

Minimum supported phone

Windows Phone 8

Namespace

Windows.Phone.System.UserProfile.GameServices.Core
Windows::Phone::System::UserProfile::GameServices::Core [C++]

Metadata

Windows.winmd

See also

GameService

 

 

Community Additions

ADD
Show:
© 2014 Microsoft