The content of this page has been automatically translated by AI. If you encounter any problems while reading, you can view the corresponding content in Chinese.
Before the class, since there is no Interactive Whiteboard object yet, the Interactive Whiteboard SDK provides the TEduBoardResourceController class to support courseware preloading.
4. Add transcoding files to the interactive whiteboard
After completing the above 3 steps, you only need to call the addTranscodeFile interface to add the transcoded results to the whiteboard, then you can use the courseware loading capability from local.
// 1. For specific parameters, please refer to the results queried in step 2.
// 2. Please refer to the interface provided by each platform for the usage of the addTranscodeFile interface.
teduBoard.addTranscodeFile({
pages: Pages,
resolution: Resolution,
title: Title,
url: ResultUrl
})
Must-Knows
1. The bucket configuration for document transcoding on the interactive whiteboard transcoding console cannot directly use the default public bucket of the interactive whiteboard.
2. Courseware preloading only supports courseware in ZIP format, so when initiating transcoding, you need to set CompressFileType to ZIP.
3. The ZIP package courseware preloaded on the local device is only retained for 7 days. After 7 days, the interactive whiteboard will clear the ZIP package courseware from the local cache.
4. iOS/Android will only preload the same courseware once. For example, if courseware A corresponding to CompressFileUrl already exists in the local device cache, when using the same CompressFileUrl parameter to call loadResource to load courseware A again, it will be skipped directly.
5. Windows will overwrite the same courseware when preloading the same courseware. For example, if courseware B specified by the CompressFileUrl parameter already exists in the local device cache, when using the same CompressFileUrl parameter to call LoadTeduBoardResource to load courseware B again, it will overwrite the courseware B in the cache.