Search
Preparing search index...
The search index is not available
Easemob SDK API Reference - v4.1.2
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Easemob SDK API Reference - v4.1.2
Types
EventHandlerType
EventHandler
Class EventHandler
Hierarchy
EventHandler
Index
Constructors
constructor
Properties
add
Event
Handler
dispatch
handler
Data
remove
Event
Handler
Constructors
constructor
new
Event
Handler
(
)
:
EventHandlerType
.
EventHandler
Returns
EventHandlerType
.
EventHandler
Properties
add
Event
Handler
add
Event
Handler
:
(
(
eventHandlerId
:
string
, eventHandler
:
EventHandlerType
)
=>
void
)
Type declaration
(
eventHandlerId
:
string
, eventHandler
:
EventHandlerType
)
:
void
Parameters
eventHandlerId:
string
eventHandler:
EventHandlerType
Returns
void
Protected
dispatch
dispatch
:
(
(
event
:
Event
,
...
args
:
any
[]
)
=>
void
)
Type declaration
(
event
:
Event
,
...
args
:
any
[]
)
:
void
Parameters
event:
Event
Rest
...
args:
any
[]
Returns
void
handler
Data
handler
Data
:
HandlerData
remove
Event
Handler
remove
Event
Handler
:
(
(
eventHandlerId
:
string
)
=>
void
)
Type declaration
(
eventHandlerId
:
string
)
:
void
Parameters
eventHandlerId:
string
Returns
void
Modules
Chatroom
Connection
Contact
Event
Handler
Group
Logger
Message
Presence
Silent
Mode
Status
Code
Thread
Translation
Types
Chat
Room
Type
Common
Connection
Contact
Type
Error
Event
Handler
Type
Group
Type
Message
Presence
Type
Reaction
Type
Silent
Mode
Type
Thread
Type
Translation
Type
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
add
Event
Handler
dispatch
handler
Data
remove
Event
Handler
Generated using
TypeDoc