GameService.GrantAchievement(UInt32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Grants the specified achievement to the current user.
public:
static void GrantAchievement(unsigned int achievementId);
static void GrantAchievement(uint32_t const& achievementId);
public static void GrantAchievement(uint achievementId);
function grantAchievement(achievementId)
Public Shared Sub GrantAchievement (achievementId As UInteger)
Parameters
- achievementId
-
UInt32
unsigned int
uint32_t
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.