NEMeetingKit
载入中...
搜索中...
未找到
feedback_service.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_INTERFACE_FEEDBACK_SERVICE_H_
14#define NEM_SDK_INTERFACE_INTERFACE_FEEDBACK_SERVICE_H_
15
16#include "service_define.h"
17
19
25public:
33 virtual void onFeedbackStatus(int type, int status, std::string url) = 0;
34};
35
40public:
42
43public:
52 virtual void feedback(const int& type, const std::string& path, bool needAudioDump, const NEFeedbackCallback& cb) = 0;
53
59 virtual void addListener(FeedbackServiceListener* listener) = 0;
60};
61
63#endif // NEM_SDK_INTERFACE_INTERFACE_FEEDBACK_SERVICE_H_
#define NNEM_SDK_INTERFACE_BEGIN_DECLS
#define NNEM_SDK_INTERFACE_END_DECLS
virtual void onFeedbackStatus(int type, int status, std::string url)=0
反馈的状态信息
virtual void addListener(FeedbackServiceListener *listener)=0
添加反馈监听,接收反馈状态
NECallback< const std::string &, const int & > NEFeedbackCallback
virtual void feedback(const int &type, const std::string &path, bool needAudioDump, const NEFeedbackCallback &cb)=0
反馈接口
std::function< void(NEErrorCode, const std::string &, const TResultParam &...)> NECallback
#define NEM_SDK_INTERFACE_EXPORT
公共服务定义头文件