次の方法で共有


GamerPresence.PresenceMode Property

Gets or sets the current presence mode for this gamer. You will see this status string when you view a friend through the Guide or on Xbox.com.

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

Syntax

public GamerPresenceMode PresenceMode { get; set; }

Property Value

The current presence mode for this gamer.

Remarks

Dd282372.note(en-US,XNAGameStudio.30).gifZune Specific Information
Setting presence information is not supported on the Zune platform. On the Zune platform, setting presence information for a signed-in gamer will not change the presence information on Xbox LIVE.

Some of the presence mode options include a number that can be set using the PresenceValue property:

Note

Game titles will not be displayed in a player's presence information on the Xbox LIVE service until the game passes peer review. Once a game passes peer review, the presence information for a player will show three things: a confirmation the player is playing an Xbox LIVE Community Game, the game's title, and finally the presence information set by SignedInGamer.Presence.

         Xbox LIVE Community Game         My Game Title         Fighting the Boss       

While a game is in development, but before the game passes peer review, the presence information indicates the developer is using the XNA Creators Club.

         XNA Creators Club         creators.xna.com         Fighting the Boss     

See Also

Tasks

How To: Add Presence Information

Reference

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

Platforms

Xbox 360, Windows XP SP2, Windows Vista, Zune