Click or drag to resize

SFSBuddyManagerMyState Property

Returns the current user's custom state (if set).

Namespace:  Sfs2X.Entities.Managers
Assembly:  SmartFox2X (in SmartFox2X.dll) Version: 1.8.0.0 (1.8.0)
Syntax
C#
public string MyState { get; set; }

Property Value

Type: String

Implements

IBuddyManagerMyState
Remarks
Examples of custom states are "Available", "Busy", "Be right back", etc. If the custom state was never set before, null is returned.

As the custom state of a user in a buddy list is handled by means of a reserved Buddy Variable (see ReservedBuddyVariables class), it can be set using the SetBuddyVariablesRequest request.

See Also