Options
All
  • Public
  • Public/Protected
  • All
Menu

Top level events on ChatSDK. Room and History level events are also available on ChatSDK and will be triggered for any room.

Index

Events

CONNECT

CONNECT = "connect"

Is fired on manual connect.

DISCONNECT

DISCONNECT = "disconnect"

Is fired on manual disconnect.

ERROR

ERROR = "error"

Is fired in case of error.

The passed data is of type ChatError.

RECONNECT

RECONNECT = "reconnect"

Is fired on successful reconnect.

RECONNECTING

RECONNECTING = "reconnecting"

Is fired when connection is broken and reconnect process has started.

ROOM_ADDED

ROOM_ADDED = "room_added"

Is fired when you create a room or are invited to a room.

The passed data is of type Room.

ROOM_REMOVED

ROOM_REMOVED = "room_removed"

Is fired when you leave a room or are removed from a room.

The passed data is id of removed room.

USER_META_UPDATED

USER_META_UPDATED = "user_meta_update"

Is fired when your user's meta is updated (can be triggered locally or remotely).

The passed data is of type UserType.