Click or drag to resize

Buddy Interface

The Buddy interface defines all the methods and properties that an object representing a SmartFoxServer Buddy entity exposes.

Namespace:  Sfs2X.Entities
Assembly:  SmartFox2X (in SmartFox2X.dll) Version: 1.8.0.0 (1.8.0)
Syntax
C#
public interface Buddy

The Buddy type exposes the following members.

Properties
  NameDescription
Public propertyId
Indicates the id of this buddy.
Public propertyIsBlocked
Indicates whether this buddy is blocked in the current user's buddies list or not.
Public propertyIsOnline
Indicates whether this buddy is online in the Buddy List system or not.
Public propertyIsTemp
Indicates whether this buddy is temporary (non-persistent) in the current user's buddies list or not.
Public propertyName
Indicates the name of this buddy.
Public propertyNickName
Returns the nickname of this buddy.
Public propertyState
Returns the custom state of this buddy.
Public propertyVariables
Returns a list of BuddyVariable objects associated with the buddy.
Top
Methods
  NameDescription
Public methodContainsVariable
Indicates whether this buddy has the specified Buddy Variable set or not.
Public methodGetOfflineVariables
Retrieves the list of persistent Buddy Variables of this buddy.
Public methodGetOnlineVariables
Retrieves the list of non-persistent Buddy Variables of this buddy.
Public methodGetVariable
Retrieves a Buddy Variable from its name.
Top
Remarks
In the SmartFoxServer 2X client API this interface is implemented by the SFSBuddy class. Read the class description for additional informations.
See Also