Search
Preparing search index...
The search index is not available
Agora Chat SDK API Reference - v1.3.1
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Agora Chat SDK API Reference - v1.3.1
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
Adds listening events.
Parameters
eventHandlerId:
string
eventHandler:
EventHandlerType
Returns
void
remove
Event
Handler
remove
Event
Handler
(
eventHandlerId
:
string
)
:
void
Removes listening events.
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
Adds listening events.