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

Namespace: Sfs2X.Core
Assembly: SmartFox2X (in SmartFox2X.dll) Version: 1.7.3.0 (1.7.3)

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