Agora Java API Reference for Android

Public Member Functions | Public Attributes | List of all members
io.agora.musiccontentcenter.MusicContentCenterConfiguration Class Reference

## Public Member Functions
| MusicContentCenterConfiguration (String appid, String token, long mccUid, int maxCacheSize, IMusicContentCenterEventHandler eventHandler)
| MusicContentCenterConfiguration (String appid, String token, long mccUid, int maxCacheSize, IMusicContentCenterEventHandler eventHandler, String domain)
String | getAppId ()
String | getToken ()
long | getMccUid ()
int | getMaxCacheSize ()
IMusicContentCenterEventHandler | getEventHandler ()
String | getMccDomain ()

## Public Attributes
String | appId
String | token
long | mccUid
int | maxCacheSize
IMusicContentCenterEventHandler | eventHandler
String | mccDomain

## Member Data Documentation

## ◆ appId

String io.agora.musiccontentcenter.MusicContentCenterConfiguration.appId

The app ID of the project that has enabled the music content center

## ◆ token

String io.agora.musiccontentcenter.MusicContentCenterConfiguration.token

Music content center need token to connect with server

## ◆ mccUid

long io.agora.musiccontentcenter.MusicContentCenterConfiguration.mccUid

The user ID when using music content center. It can be different from that of the rtc product.

## ◆ maxCacheSize

int io.agora.musiccontentcenter.MusicContentCenterConfiguration.maxCacheSize

The max number which the music content center caches cannot exceed 50.

## ◆ eventHandler

IMusicContentCenterEventHandler io.agora.musiccontentcenter.MusicContentCenterConfiguration.eventHandler

Event handler to get callback result.

## ◆ mccDomain

String io.agora.musiccontentcenter.MusicContentCenterConfiguration.mccDomain

@technical preview