|
Agora Java API Reference for Android
|
Settings for the music content center. More...
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 |
Settings for the music content center.
| String io.agora.musiccontentcenter.MusicContentCenterConfiguration.appId |
The App ID of the project with content center enabled.
| String io.agora.musiccontentcenter.MusicContentCenterConfiguration.token |
The RTM Token used for authentication when using the music content center.
Deploying the Token Server for details. When generating the Token, pass the String type mccUid to the uid parameter.renewToken to provide a new Token. | long io.agora.musiccontentcenter.MusicContentCenterConfiguration.mccUid |
ID of the user to use the music content center. This ID can be the same as the uid you use to join the RTC channel, but it cannot be 0.
| int io.agora.musiccontentcenter.MusicContentCenterConfiguration.maxCacheSize |
The number of cacheable music resources must not exceed 50.
| IMusicContentCenterEventHandler io.agora.musiccontentcenter.MusicContentCenterConfiguration.eventHandler |
The event callbacks to be received. See IMusicContentCenterEventHandler for details.
| String io.agora.musiccontentcenter.MusicContentCenterConfiguration.mccDomain |
@technical preview
1.8.18