Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
引擎级事件回调接口:设备变化、网络探测与 IM 相关通知
channelId
virtual void onProbeResult(int action, const char* result) = 0;
virtual void onDeviceChange(int type, int action, const char* name, int namesize) = 0;
virtual void onDefDeviceChange(int type, const char* name, int namesize) = 0;
virtual void onImEnabled(const char* uid, const char* sid) = 0;
virtual void onImDisconnected(int reason, StatusCode code, const char* message, size_t messageSize) = 0;
virtual void onImReconnected() = 0;
virtual void onImReconnecting() = 0;
virtual void onImMessage2(const char* uid, const char* sid, const char* name, int nameSize, const char* action, const char* content, size_t contentSize) = 0;