文档中心
灵动课堂
API 参考
AgoraWidgetStateListener | agora classroom sdk
Edu Store API Reference for Web/Electron
Methods
onActive
- onActive(widgetId: string): void
onInactive
- onInactive(WidgetId: string): void
onPropertiesUpdate
- onPropertiesUpdate(widgetId: string, props: any): void
Parameters
widgetId: string
props: any
Returns void
onTrackUpdate
- onTrackUpdate(widgetId: string, track: any): void
Parameters
widgetId: string
track: any
Returns void
onUserPropertiesUpdate
- onUserPropertiesUpdate(widgetId: string, props: any): void
Parameters
widgetId: string
props: any
Returns void