Guide.ShowGamerCard Method
Shows the Gamer Card user interface.
Namespace: Microsoft.Xna.Framework.GamerServices
Assembly: Microsoft.Xna.Framework.GamerServices (in microsoft.xna.framework.gamerservices.dll)
public static void ShowGamerCard ( PlayerIndex player, Gamer gamer )
Parameters
- player
- Type: PlayerIndex
Index of the player making the request.
The profile specified by player must be signed in when calling this function.
- gamer
- Type: Gamer
Owner of the gamer card being requested for display.
If AllowProfileViewing is false, a GamerPrivilegeException is thrown.
Best Practice |
|---|
|
You can check GamerPrivileges.AllowProfileViewing to determine if a player is allowed to send and receive communications before displaying a menu option that would call this method. |
Community Additions
ADD
Show:
Best Practice