共用方式為


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.GamerServices (in microsoft.xna.framework.gamerservices.dll)

Syntax

public GamerPresenceMode PresenceMode { get; set; }

Property Value

The current presence mode for this gamer.

Remarks

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

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

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

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP