FMWebSyncChatJoinReceiveArgs Class Reference

Overview

Arguments for join receive callbacks.

– initWithChannel:dataJson:dataBytes:connectionType:reconnectAfter:

Initializes a new instance of the class.

- (id)initWithChannel:(NSString *)channel dataJson:(NSString *)dataJson dataBytes:(NSMutableData *)dataBytes connectionType:(FMWebSyncConnectionType)connectionType reconnectAfter:(int)reconnectAfter

Parameters

name="dataBytes">The

data in binary format.

name="connectionType">The

current connection type.

name="dataJson">The

data in JSON format.

name="channel">The

channel over which data was received.

name="reconnectAfter">The

amount of time in milliseconds to pause before reconnecting to the server.

Discussion

Initializes a new instance of the class.

Declared In

FMWebSyncChat.h

+ joinReceiveArgsWithChannel:dataJson:dataBytes:connectionType:reconnectAfter:

Initializes a new instance of the class.

+ (FMWebSyncChatJoinReceiveArgs *)joinReceiveArgsWithChannel:(NSString *)channel dataJson:(NSString *)dataJson dataBytes:(NSMutableData *)dataBytes connectionType:(FMWebSyncConnectionType)connectionType reconnectAfter:(int)reconnectAfter

Parameters

name="dataBytes">The

data in binary format.

name="connectionType">The

current connection type.

name="dataJson">The

data in JSON format.

name="channel">The

channel over which data was received.

name="reconnectAfter">The

amount of time in milliseconds to pause before reconnecting to the server.

Discussion

Initializes a new instance of the class.

Declared In

FMWebSyncChat.h

– publishingUser

Gets the user that published the message.

- (FMWebSyncChatChatUser *)publishingUser

Discussion

Gets the user that published the message.

Declared In

FMWebSyncChat.h

– userId

Gets the ID of the current user.

- (NSString *)userId

Discussion

Gets the ID of the current user.

Declared In

FMWebSyncChat.h

– userNickname

Gets the nickname of the current user.

- (NSString *)userNickname

Discussion

Gets the nickname of the current user.

Declared In

FMWebSyncChat.h