Search
Preparing search index...
The search index is not available
Chat SDK for WEB - v4.1.4-beta
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Chat SDK for WEB - v4.1.4-beta
EventHandler
EventHandler
Class EventHandler
Hierarchy
EventHandler
Index
Constructors
constructor
Properties
handler
Data
Methods
add
Event
Handler
remove
Event
Handler
Constructors
constructor
new
Event
Handler
(
Connection
:
Connection
, eventHandlerId
:
string
, eventHandler
:
EventHandlerType
)
:
EventHandler
Parameters
Connection:
Connection
eventHandlerId:
string
eventHandler:
EventHandlerType
Returns
EventHandler
Properties
handler
Data
handler
Data
:
HandlerData
= {}
Methods
add
Event
Handler
add
Event
Handler
(
eventHandlerId
:
string
, eventHandler
:
EventHandlerType
)
:
void
添加监听事件。
Parameters
eventHandlerId:
string
eventHandler:
EventHandlerType
Returns
void
remove
Event
Handler
remove
Event
Handler
(
eventHandlerId
:
string
)
:
void
移除监听事件。
Parameters
eventHandlerId:
string
Returns
void
Modules
Category
Channel
ChatSDK
Chatroom
Connection
Contact
Event
Handler
Group
Logger
Message
Presence
Server
Silent
Mode
Status
Code
Thread
Translation
Types
Utils
message/audio
message/channel
message/cmd
message/custom
message/delivery
message/file
message/img
message/location
message/read
message/text
message/video
Event
Handler
constructor
handler
Data
add
Event
Handler
remove
Event
Handler
Generated using
TypeDoc
添加监听事件。