Search
Preparing search index...
The search index is not available
Agora Chat SDK API Reference
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Agora Chat SDK API Reference
TYPES
EvevtHandlerType
EventHandler
Class EventHandler
Hierarchy
EventHandler
Index
Constructors
constructor
Properties
add
Event
Handler
dispatch
handler
Data
remove
Event
Handler
Constructors
constructor
new
Event
Handler
(
)
:
EventHandler
Returns
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 APIS
CHATSDK
CONNECTION
CONTACT APIS
EVENTHANDLER
GROUP APIS
MESSAGE
PRESENCE APIS
SLIENTMODE APIS
THREAD APIS
TRANSLATION APIS
TYPES
Chat
Room
Type
Common
Connection
Contact
Type
Error
Evevt
Handler
Type
Group
Type
Message
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