# MusicContentCenterConfiguration (/zh-CN/api-reference/rtc/android/4.6.0/class-and-enum/classes/class-musiccontentcenterconfiguration) > For AI agents: see the complete documentation index at [llms.txt](/llms.txt). ```java public class MusicContentCenterConfiguration { public String appId; public String token; public long mccUid; public int maxCacheSize; public IMusicContentCenterEventHandler eventHandler; public String mccDomain; } ``` ## 属性 [#属性] ### `appId` [#appid] 启用音乐内容中心的项目的 App ID。 ### `token` [#token] 使用音乐内容中心时用于鉴权的 Token。 :::info[注] 声网建议使用 AccessToken2 作为鉴权方式。详见 `Deploying the Token Server`。生成 Token 时,将 `String` 类型的 `mccUid` 作为 `uid` 参数传入。当 Token 即将过期时,可以调用 [renewToken](/zh-CN/api-reference/rtc/android/channel#api_irtcengine_renewtoken) 提供新的 Token。 ::: ### `mccUid` [#mccuid] 使用音乐内容中心的用户 ID。可以与加入 RTC 频道时使用的 `uid` 相同,但不能为 0。 ### `maxCacheSize` [#maxcachesize] 可缓存的音乐资源数量不得超过 50 个。 ### `eventHandler` [#eventhandler] 事件回调接口,详见 [IMusicContentCenterEventHandler](/zh-CN/api-reference/rtc/android/full-sdk-api-list#class_imusiccontentcentereventhandler)。