Search
Preparing search index...
The search index is not available
Easemob SDK API Reference - v4.10.0
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Easemob SDK API Reference - v4.10.0
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
ChatSDK
Chatroom
Connection
Contact
Event
Handler
Group
Local
Cache
Logger
Message
Presence
Silent
Mode
Status
Code
Thread
Translation
Types
Utils
message/audio
message/channel
message/cmd
message/combine
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
添加监听事件。