NEMeetingKit V4.9.0
载入中...
搜索中...
未找到
kit_define_callback.h
浏览该文件的文档.
1// Copyright (c) 2022 NetEase, Inc. All rights reserved.
2// Use of this source code is governed by a MIT license that can be
3// found in the LICENSE file.
4
13#ifndef NEM_SDK_INTERFACE_CALLBACK_CALLBACK_INTERFACE_H_
14#define NEM_SDK_INTERFACE_CALLBACK_CALLBACK_INTERFACE_H_
15
16#include <functional>
17#include <string>
18#include "build_config.h"
19#include "kit_define_error.h"
21
23
24template <class... TResultParam>
25using NECallback = std::function<void(MeetingErrorCode, const std::string&, const TResultParam&...)>;
26
28
30#endif // NEM_SDK_INTERFACE_CALLBACK_CALLBACK_INTERFACE_H_
编译配置头文件
#define NNEM_SDK_INTERFACE_BEGIN_DECLS
定义 build_config.h:16
#define NNEM_SDK_INTERFACE_END_DECLS
定义 build_config.h:17
NECallback<> NEEmptyCallback
定义 kit_define_callback.h:27
std::function< void(MeetingErrorCode, const std::string &, const TResultParam &...)> NECallback
定义 kit_define_callback.h:25
错误码头文件
MeetingErrorCode
错误枚举
定义 kit_define_error.h:23
库导入导出定义头文件