Bagikan melalui


SignedInGamer.Presence Property

Gets an object that may be used to set the rich presence state for this gamer.

Namespace: Microsoft.Xna.Framework.GamerServices
Assembly: Microsoft.Xna.Framework.GamerServices (in microsoft.xna.framework.gamerservices.dll)

Syntax

public GamerPresence Presence { get; }

Property Value

An object that may be used to set the rich presence state for this gamer.

Remarks

Dd282374.note(en-us,XNAGameStudio.41).gifWindows Phone Specific Information
Setting presence information is not supported on Windows Phone. On Windows Phone, setting presence information for a signed-in gamer is allowed (it will not generate an error), but it will not change the presence information on Xbox LIVE.

Note

A game title is not displayed in a player's presence information on Xbox LIVE until that game passes peer review. Once a game passes peer review, the presence information for a player shows three things: a confirmation the player is playing an Xbox LIVE Indie Game, the game's title, and the presence information set by SignedInGamer.Presence. For example: While a game is in development, but before it passes peer review, presence information indicates the developer is using App Hub as shown:

See Also

Tasks

Setting Presence Information

Reference

Gamer.SignedInGamers Property
GamerPresence Class
SignedInGamer Class
SignedInGamer Members
Microsoft.Xna.Framework.GamerServices Namespace

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP