NIM SDK 提供的plugin接入接口类
更多...
#include <nim_cpp_plugin_in.h>
◆ ChatRoomRequestEnterCallback
| typedef std::function<void(int error_code, const std::string& result) nim::PluginIn::ChatRoomRequestEnterCallback) |
◆ QChatRequestLinkAddressCallback
| typedef std::function<void(int error_code, const std::list<std::string>& link_address_list) nim::PluginIn::QChatRequestLinkAddressCallback) |
◆ ChatRoomRequestEnterAsync()
| void nim::PluginIn::ChatRoomRequestEnterAsync |
( |
const int64_t | room_id, |
|
|
const ChatRoomRequestEnterCallback & | callback, |
|
|
const std::string & | json_extension = "" ) |
|
static |
◆ QChatRequestLinkAddress()
| void nim::PluginIn::QChatRequestLinkAddress |
( |
uint32_t | ip_version, |
|
|
const QChatRequestLinkAddressCallback & | callback, |
|
|
const std::string & | json_extension = "" ) |
|
static |
异步获取圈组link地址
- 参数
-
| [in] | ip_version | ip协议, 0:ipv4, 1:ipv6, 2:all |
| [in] | callback | 回调函数 |
| [in] | json_extension | json扩展参数(备用,目前不需要) |
- 返回
- void 无返回值
- 注解
- 错误码 200:成功 414:参数错误
该类的文档由以下文件生成:
- D:/GitLab/builds/DuLE4zAy/0/nim-pc/california/nim-cross-platform-sdk/exports/wrapper/nim_cpp_wrapper/api/nim_cpp_plugin_in.h
- D:/GitLab/builds/DuLE4zAy/0/nim-pc/california/nim-cross-platform-sdk/exports/wrapper/nim_cpp_wrapper/api/nim_cpp_plugin_in.cpp