import { SignInTextParams } from '../type/meeting'; import { default as Action } from '.'; import { default as BaseAction } from './base'; import { FocusViewAction } from '../type/client'; declare class MeetingControlAction extends BaseAction { constructor(action: Action); /** * 校验会控主持密码 * * @param { string } pwd - 参数 * @returns */ verifyControlPassword(pwd: string): Promise; /** * 举手发言 * * @param { 'handup' | 'handdown' | 'mute' } type 操作类型 * @param { string } meetingId 会议ID * @param { string } di callerUri * @param { string } conferenceNo 会议号 * @returns */ hand(type: 'handup' | 'handdown' | 'mute'): Promise; /** * 会控设置焦点画面 * * @param { string } deviceUri - 焦点画面终端callUri * @param { FocusViewAction} action - 设置焦点画面/取消焦点画面 * @returns */ setMeetingFocusView(deviceUri: string, action: FocusViewAction): Promise; /** * 签到 * * @param { Object } params - 参数 * @param { string } params.deviceId - 用户ID * @param { string } params.questionnaireId - 签到ID * @returns */ signIn({ deviceId, questionnaireId, api }: { deviceId: string; questionnaireId: string; api?: string; }): Promise; /** * 终端获取签到答题等文案 * * @param { Object } params - 参数 * @param { EVENT_TYPE } type - 业务状态 * @param { number } businessType - 业务类型 * @param { string } environment - 语言,中文:zh-cn 、英文:en、台湾:zh-tw、香港:zh-hk * @returns */ getSignInText({ type, environment, businessType }: SignInTextParams): Promise; /** * 通过会控修改名称 * * @param { string } newName - 新名称 * @returns */ rename(newName: string): Promise; /** * 获取会控侧边栏会议信息,包含是否是主持人、是否需要会控密码等 */ fetchMeetingControlInfo(): Promise; endAllMeeting(): Promise; /** * 监会操作 * * @param params meetingId: 会议号;action: 操作类型;operations: 操作信息 * @returns [hasError, dada] */ monitorOperation(params: { meetingId: string; action: string; operations: Array<{ callUri: string; params: string; }>; }): Promise<[boolean, any]>; /** * 监会 updateWebViewProp 操作 * * @param meetingId 会议号 * @param operations 操作信息 */ updateWebViewProp(meetingId: string, operations?: Array<{ callUri: string; params: string; }>): Promise<[boolean, any]>; /** * 通知会控打开/关闭摄像头结果 * * @param { 'muteVideo' | 'unMuteVideo' } type 操作类型 * @param { string } value 操作详细数据 * @returns */ sendVideoControlResult(type: 'muteVideo' | 'unMuteVideo', value: string): Promise; } export default MeetingControlAction;