NEMeetingService class abstract

提供会议相关的服务接口,诸如创建会议、加入会议、添加会议状态监听等。可通过 NEMeetingKit.getMeetingService 获取对应的服务实例

Constructors

NEMeetingService()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addListener(NERoomStatusListener listener) → void
添加会议状态监听实例,用于接收会议状态变更通知
anonymousJoinMeeting(BuildContext context, NEJoinMeetingParams param, NEJoinMeetingOptions opts, {PasswordPageRouteWillPushCallback? onPasswordPageRouteWillPush, MeetingPageRouteWillPushCallback? onMeetingPageRouteWillPush}) Future<NEResult<void>>
加入一个当前正在进行中的会议,已登录或未登录均可加入会议。
getCurrentMeetingInfo() NEMeetingInfo?
获取当前会议详情。如果当前无正在进行中的会议,则回调数据对象为空
getMeetingStatus() NEMeetingStatus
获取当前会议状态
joinMeeting(BuildContext context, NEJoinMeetingParams param, NEJoinMeetingOptions opts, {PasswordPageRouteWillPushCallback? onPasswordPageRouteWillPush, MeetingPageRouteWillPushCallback? onMeetingPageRouteWillPush}) Future<NEResult<void>>
加入一个当前正在进行中的会议,已登录或未登录均可加入会议。加入会议成功后,SDK会拉起会议页面,调用方不用做其他操作
leaveCurrentMeeting(bool closeIfHost) Future<NEResult<void>>
离开当前进行中的会议
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeListener(NERoomStatusListener listener) → void
移除对应的会议状态的监听实例
setOnInjectedMenuItemClickListener(NEMeetingOnInjectedMenuItemClickListener listener) → void
设置菜单项点击事件回调
startAudioDump() Future<NEResult<void>>
订阅会议内某一音频流
startMeeting(BuildContext context, NEStartMeetingParams param, NEStartMeetingOptions opts, {MeetingPageRouteWillPushCallback? onMeetingPageWillPopup}) Future<NEResult<void>>
创建一个新的会议,只有完成SDK的登录鉴权操作才允许创建会议。创建会议成功后,SDK会拉起会议页面,调用方不用做其他操作
stopAudioDump() Future<NEResult<void>>
关闭音频dump
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited