NEMeetingKit V4.9.0
载入中...
搜索中...
未找到
kit_service_invite.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_INVITE_SERVICE_H_
14#define NEM_SDK_INTERFACE_INTERFACE_INVITE_SERVICE_H_
15
16#include <list>
17#include "kit_define_meeting.h"
18#include "kit_service_define.h"
19
21
29public:
37 virtual void onMeetingInviteStatusChanged(NEMeetingInviteStatus status, int meetingId, NEMeetingInviteInfo inviteInfo) = 0;
38};
39
44public:
51 virtual void rejectInvite(int64_t meetingId, const NEEmptyCallback& callback) = 0;
52
62 virtual void acceptInvite(const NEJoinMeetingParams& param, const NEJoinMeetingOptions& opts, const NEEmptyCallback& callback) = 0;
63
69
75};
76
78#endif // NEM_SDK_INTERFACE_INTERFACE_INVITE_SERVICE_H_
#define NNEM_SDK_INTERFACE_BEGIN_DECLS
定义 build_config.h:16
#define NNEM_SDK_INTERFACE_END_DECLS
定义 build_config.h:17
加入会议选项
定义 kit_define_meeting.h:1619
加入会议参数
定义 kit_define_meeting.h:1614
消息服务
定义 kit_service_invite.h:43
virtual void acceptInvite(const NEJoinMeetingParams &param, const NEJoinMeetingOptions &opts, const NEEmptyCallback &callback)=0
接受邀请,加入一个当前正在进行中的会议
virtual void addMeetingInviteStatusListener(NEMeetingInviteStatusListener *listener)=0
添加邀请状态监听实例,用于接收邀请状态变更通知
virtual void removeMeetingInviteStatusListener(NEMeetingInviteStatusListener *listener)=0
移除对应的邀请状态监听实例
virtual void rejectInvite(int64_t meetingId, const NEEmptyCallback &callback)=0
拒绝会议邀请,只有完成SDK的登录鉴权操作才允许该操作。
回调接口,用于监听消息变更事件
定义 kit_service_invite.h:28
virtual void onMeetingInviteStatusChanged(NEMeetingInviteStatus status, int meetingId, NEMeetingInviteInfo inviteInfo)=0
会议邀请状态变更通知
公共对象
定义 kit_define_public.h:24
公共服务
定义 kit_service_define.h:23
NECallback<> NEEmptyCallback
定义 kit_define_callback.h:27
会议头文件
NEMeetingInviteStatus
定义 kit_define_meeting.h:2119
#define NEM_SDK_INTERFACE_EXPORT
定义 kit_interface_export.h:35
公共服务定义头文件
定义 kit_define_meeting.h:2132