agora-classroom-sdk
Version:
For publishing npm package agora-classroom-sdk (Web & Electron). Get more information from https://docs.agora.io
51 lines (50 loc) • 1.97 kB
TypeScript
import { CloudDriveResource, EduRoomTypeEnum } from 'agora-edu-core';
import './polyfills';
import { BoardWindowAnimationOptions, ConfigParams, LaunchOption, LaunchWindowOption } from './type';
import { FcrMultiThemeMode, FcrTheme, FcrUIConfig, AgoraWidgetBase } from 'agora-common-libs';
export * from './type';
export { applyTheme, loadGeneratedFiles, themes } from '../utils/config-loader';
export declare class AgoraEduSDK {
private static _config;
private static _widgets;
private static _coursewareList;
private static _boardWindowAnimationOptions;
private static _language;
private static _appId;
private static _uiMode;
private static _uiConfig;
private static _theme;
private static _shareUrl;
private static _region;
private static _virtualBackgroundImages;
private static _virtualBackgroundVideos;
private static _convertRegion;
private static _convertMediaOptions;
static setParameters(params: string): void;
static getLoadedScenes(): {
name: string;
roomType: EduRoomTypeEnum;
}[];
static config(config: ConfigParams): void;
static get widgets(): Record<string, typeof AgoraWidgetBase>;
static get courseWareList(): CloudDriveResource[];
static get boardWindowAnimationOptions(): BoardWindowAnimationOptions;
static get language(): string;
static get uiConfig(): FcrUIConfig;
static get theme(): FcrTheme;
static get uiMode(): FcrMultiThemeMode;
static get shareUrl(): string;
static get virtualBackgroundImages(): string[];
static get virtualBackgroundVideos(): string[];
private static _validateOptions;
static launch(dom: HTMLElement, option: LaunchOption): () => void;
/**
* 运行窗口UI
* @param dom
* @param option
* @returns
*/
static launchWindow(dom: HTMLElement, option: LaunchWindowOption): () => void;
private static _selectUITheme;
static setRecordReady(): void;
}