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
EVENTHANDLER
default
Class default
Hierarchy
default
Index
Constructors
constructor
Properties
handler
Data
Methods
add
Event
Handler
remove
Event
Handler
Constructors
constructor
new default
(
Connection
:
default
, eventHandlerId
:
string
, eventHandler
:
EventHandlerType
)
:
default
Parameters
Connection:
default
eventHandlerId:
string
eventHandler:
EventHandlerType
Returns
default
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
CHATROOM APIS
CHATSDK
CONNECTION
CONTACT APIS
EVENTHANDLER
GROUP APIS
MESSAGE
PRESENCE APIS
SLIENTMODE APIS
THREAD APIS
TRANSLATION APIS
TYPES
message/audio
message/channel
message/cmd
message/custom
message/delivery
message/file
message/img
message/location
message/read
message/text
message/video
default
constructor
handler
Data
add
Event
Handler
remove
Event
Handler
Generated using
TypeDoc
添加监听事件。