Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AUTO] Generate comments by iris-doc #1010

Merged
merged 1 commit into from
May 23, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 2 additions & 9 deletions ts/Private/IAgoraMusicContentCenter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -377,19 +377,12 @@ export abstract class IMusicContentCenter {
abstract preload(songCode: number, jsonOption?: string): number;

/**
* 删除已缓存的音乐资源。
* 你可以调用该方法删除某一已缓存的音乐资源,如需删除多个音乐资源,你可以多次调用该方法。 The cached media file currently being played will not be deleted.
*
* @param songCode 待删除的音乐资源的编号。
*
* @returns
* 0: 方法调用成功,音乐资源已删除。< 0: Failure.
* @ignore
*/
abstract removeCache(songCode: number): number;

/**
* 获取已缓存的音乐资源信息。
* 当你不再需要使用已缓存的音乐资源时,你需要及时释放内存以防止内存泄漏。
* @ignore
*/
abstract getCaches(): { cacheInfo: MusicCacheInfo[]; cacheInfoSize: number };

Expand Down