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.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for