Click or drag to resize

SFSEventOBJECT_MESSAGE Field

Dispatched when an object containing custom data is received by the current user.

Namespace:  Sfs2X.Core
Assembly:  SmartFox2X (in SmartFox2X.dll) Version: 1.8.0.0 (1.8.0)
Syntax
C#
public static readonly string OBJECT_MESSAGE

Field Value

Type: String
Remarks
This event is caused by an ObjectMessageRequest request sent by any user in the target Room.

The Params object contains the following parameters:

ParameterDescription
sender(User) An object representing the user who sent the message.
message(ISFSObject) The content of the message: an object containing the custom parameters sent by the sender.
Examples
See the ObjectMessageRequest example.
See Also