Share via


GameService.GrantAvatarAward(UInt32) Method

Definition

Grants the specified avatar award to the current user.

public:
 static void GrantAvatarAward(unsigned int avatarAwardId);
 static void GrantAvatarAward(uint32_t const& avatarAwardId);
public static void GrantAvatarAward(uint avatarAwardId);
function grantAvatarAward(avatarAwardId)
Public Shared Sub GrantAvatarAward (avatarAwardId As UInteger)

Parameters

avatarAwardId
UInt32

unsigned int

uint32_t

The identifier of the avatar award.

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