Enums & Types
All exported enums and TypeScript type definitions.
INFO
Enums have runtime values (usable in switch/comparison). Types are compile-time only (zero runtime cost).
Enumerations
| Enum | Description |
|---|---|
AskStageStatus | |
BoardErrorCode | |
BoardFitMode | |
BoardStatus | |
BoardToolType | |
CoursewarePermission | |
DeviceStatus | |
DeviceType | Microphone / Speaker)。Device type enum. |
JoinProgress | |
JoinType | Live / RTC)。Join type enum (CDN / Live / RTC). |
KickOutReason | |
LiveStreamType | |
MemberActionType | |
NetworkModule | |
NetworkQualityLevel | |
NetworkSeverity | |
PackageType | |
QuestionType | |
QuizStatus | |
RtcEvent | |
StreamType | Screen 屏幕共享)。Stream type enum. |
TI18nNamespace | |
TranscodeState | |
TranscodeType | |
TranscriptionStatus | |
UploadTrackStatus |
Interfaces
Type Aliases
| Type | Description |
|---|---|
ClassLayout | |
ClassroomEventPayload | Extract the payload type of an event callback. |
ClassStatus | |
Listener | T |
MessageFilterType | |
MessageType | |
MusicPlayStatus | |
Platform | |
Role | |
ScreenShareStatus | |
ScreenState | |
SilenceMode | |
StageStatus | |
TErrorModule | TEvent.WARN 时,通过 module 字段判断来源, |
TEventName | |
TI18nMessages | |
TResult | T = void |
TResultCode | |
Unsubscribe | void |
UploadProgressCallback | number |
UploadReadyCallback | string |
VodPlayStatus |
Utility Functions & Constants
| Name | Description |
|---|---|
BOARD_EXT | |
detectSystemLocale | Node 环境中检测系统语言,并尝试匹配到 SDK 支持的语言列表。 |
getTResultDomain | "success" | "framework" | "api" | "rtc" | "im" | "board" | "quiz" | "mediaplay" | "subtitle" | "watermark" | "statistics" |
isTResultCode | boolean |
SDK_VERSION | |
SUPPORTED_LOCALES | |
TEvent | Event name constants. |
tfail | string |
tfromError | unknown |
tok | T = void |