# MusicContentCenterConfiguration (/zh-CN/api-reference/rtc/android/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; } ``` ## 属性 [#属性] 启用音乐内容中心的项目的 App ID。 使用音乐内容中心时用于鉴权的 Token。 :::note 注: 声网建议使用 AccessToken2 作为鉴权方式。详见 `Deploying the Token Server`。生成 Token 时,将 `String` 类型的 `mccUid` 作为 `uid` 参数传入。当 Token 即将过期时,可以调用 [renewToken](/zh-CN/api-reference/rtc/android/channel#api_irtcengine_renewtoken) 提供新的 Token。 ::: 使用音乐内容中心的用户 ID。可以与加入 RTC 频道时使用的 `uid` 相同,但不能为 0。 可缓存的音乐资源数量不得超过 50 个。 事件回调接口,详见 [IMusicContentCenterEventHandler](/zh-CN/api-reference/rtc/android/rtc-interface-class#class_imusiccontentcentereventhandler)。