SignedInGamerExtensions.AwardAvatarAssets Method
Awards an Avatar asset
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Sub AwardAvatarAssets ( _
gamer As SignedInGamer, _
assetKeys As String() _
)
[ExtensionAttribute]
public static void AwardAvatarAssets (
SignedInGamer gamer,
string[] assetKeys
)
[ExtensionAttribute]
public:
static void AwardAvatarAssets(
SignedInGamer gamer,
String assetKeys[]
)
Parameters
- gamer
Type: SignedInGamer
A signed in gamer. - assetKeys
Type: String
Avatar asset keys.
Remarks
Warning
This method retrieves a calculated result only for titles approved to access Xbox LIVE Services through the Xbox LIVE Registered Developer Program. For Xbox LIVE Indie games, this method returns immediately with a predetermined default value.
This is a blocking call: to query asynchronously, use Begin/EndAwardAvatarAssets instead.
Requirements
Namespace: Microsoft.Xna.Framework.GamerServices
Assembly: Microsoft.Xna.Framework.GamerServices (in microsoft.xna.framework.gamerservices.dll)
See Also
Reference
SignedInGamerExtensions Class
SignedInGamerExtensions Members
Microsoft.Xna.Framework.GamerServices Namespace
Platforms
Windows Phone