Click or drag to resize

SFSBuddyManagerMyOnlineState Property

Returns the current user's online/offline state.

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

Property Value

Type: Boolean

Implements

IBuddyManagerMyOnlineState
Remarks
If true, the user appears to be online in the buddies list of other users who have him as a buddy.

The online state of a user in a buddy list is handled by means of a reserved Buddy Variable (see ReservedBuddyVariables class); it can be changed using the dedicated GoOnlineRequest request.

See Also