\hypertarget{classio_1_1agora_1_1musiccontentcenter_1_1_music_content_center_configuration}{}\doxysection{io.\+agora.\+musiccontentcenter.\+Music\+Content\+Center\+Configuration Class Reference}
\label{classio_1_1agora_1_1musiccontentcenter_1_1_music_content_center_configuration}\index{io.agora.musiccontentcenter.MusicContentCenterConfiguration@{io.agora.musiccontentcenter.MusicContentCenterConfiguration}}


Settings for the music content center.  


\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classio_1_1agora_1_1musiccontentcenter_1_1_music_content_center_configuration_a0626025cd8ec0aaf3f621a39ae366b2a}\label{classio_1_1agora_1_1musiccontentcenter_1_1_music_content_center_configuration_a0626025cd8ec0aaf3f621a39ae366b2a}} 
{\bfseries Music\+Content\+Center\+Configuration} (String appid, String \mbox{\hyperlink{classio_1_1agora_1_1musiccontentcenter_1_1_music_content_center_configuration_a1fd882ee6d7c4d5402fc913c916b921e}{token}}, long \mbox{\hyperlink{classio_1_1agora_1_1musiccontentcenter_1_1_music_content_center_configuration_af73007664027441f99b19f5c8deb74e0}{mcc\+Uid}}, int \mbox{\hyperlink{classio_1_1agora_1_1musiccontentcenter_1_1_music_content_center_configuration_af79bcb5572e98e4461f08ce014cfcc79}{max\+Cache\+Size}}, \mbox{\hyperlink{interfaceio_1_1agora_1_1musiccontentcenter_1_1_i_music_content_center_event_handler}{I\+Music\+Content\+Center\+Event\+Handler}} \mbox{\hyperlink{classio_1_1agora_1_1musiccontentcenter_1_1_music_content_center_configuration_afe3d525f1bafb5a7c4b6706b811ce4bd}{event\+Handler}})
\item 
\mbox{\Hypertarget{classio_1_1agora_1_1musiccontentcenter_1_1_music_content_center_configuration_a6bca166c412ffd96d0446aeab83a1d0f}\label{classio_1_1agora_1_1musiccontentcenter_1_1_music_content_center_configuration_a6bca166c412ffd96d0446aeab83a1d0f}} 
{\bfseries Music\+Content\+Center\+Configuration} (String appid, String \mbox{\hyperlink{classio_1_1agora_1_1musiccontentcenter_1_1_music_content_center_configuration_a1fd882ee6d7c4d5402fc913c916b921e}{token}}, long \mbox{\hyperlink{classio_1_1agora_1_1musiccontentcenter_1_1_music_content_center_configuration_af73007664027441f99b19f5c8deb74e0}{mcc\+Uid}}, int \mbox{\hyperlink{classio_1_1agora_1_1musiccontentcenter_1_1_music_content_center_configuration_af79bcb5572e98e4461f08ce014cfcc79}{max\+Cache\+Size}}, \mbox{\hyperlink{interfaceio_1_1agora_1_1musiccontentcenter_1_1_i_music_content_center_event_handler}{I\+Music\+Content\+Center\+Event\+Handler}} \mbox{\hyperlink{classio_1_1agora_1_1musiccontentcenter_1_1_music_content_center_configuration_afe3d525f1bafb5a7c4b6706b811ce4bd}{event\+Handler}}, String domain)
\item 
\mbox{\Hypertarget{classio_1_1agora_1_1musiccontentcenter_1_1_music_content_center_configuration_ae95108f7784896460f90536dad69fe8b}\label{classio_1_1agora_1_1musiccontentcenter_1_1_music_content_center_configuration_ae95108f7784896460f90536dad69fe8b}} 
String {\bfseries get\+App\+Id} ()
\item 
\mbox{\Hypertarget{classio_1_1agora_1_1musiccontentcenter_1_1_music_content_center_configuration_a65d8ab22cdefeb5cd548764bff2c2d62}\label{classio_1_1agora_1_1musiccontentcenter_1_1_music_content_center_configuration_a65d8ab22cdefeb5cd548764bff2c2d62}} 
String {\bfseries get\+Token} ()
\item 
\mbox{\Hypertarget{classio_1_1agora_1_1musiccontentcenter_1_1_music_content_center_configuration_aba2bd902052a46973f9d9f58729555a8}\label{classio_1_1agora_1_1musiccontentcenter_1_1_music_content_center_configuration_aba2bd902052a46973f9d9f58729555a8}} 
long {\bfseries get\+Mcc\+Uid} ()
\item 
\mbox{\Hypertarget{classio_1_1agora_1_1musiccontentcenter_1_1_music_content_center_configuration_a5d2f432e04f0d4edeb99731b268b758b}\label{classio_1_1agora_1_1musiccontentcenter_1_1_music_content_center_configuration_a5d2f432e04f0d4edeb99731b268b758b}} 
int {\bfseries get\+Max\+Cache\+Size} ()
\item 
\mbox{\Hypertarget{classio_1_1agora_1_1musiccontentcenter_1_1_music_content_center_configuration_a43f1d47ed49d0010b47c672ab2fca677}\label{classio_1_1agora_1_1musiccontentcenter_1_1_music_content_center_configuration_a43f1d47ed49d0010b47c672ab2fca677}} 
\mbox{\hyperlink{interfaceio_1_1agora_1_1musiccontentcenter_1_1_i_music_content_center_event_handler}{I\+Music\+Content\+Center\+Event\+Handler}} {\bfseries get\+Event\+Handler} ()
\item 
\mbox{\Hypertarget{classio_1_1agora_1_1musiccontentcenter_1_1_music_content_center_configuration_ad991f98676858839757999e15c5f82db}\label{classio_1_1agora_1_1musiccontentcenter_1_1_music_content_center_configuration_ad991f98676858839757999e15c5f82db}} 
String {\bfseries get\+Mcc\+Domain} ()
\end{DoxyCompactItemize}
\doxysubsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
String \mbox{\hyperlink{classio_1_1agora_1_1musiccontentcenter_1_1_music_content_center_configuration_a82f35aba41d8a78601c954914b20ee41}{app\+Id}}
\item 
String \mbox{\hyperlink{classio_1_1agora_1_1musiccontentcenter_1_1_music_content_center_configuration_a1fd882ee6d7c4d5402fc913c916b921e}{token}}
\item 
long \mbox{\hyperlink{classio_1_1agora_1_1musiccontentcenter_1_1_music_content_center_configuration_af73007664027441f99b19f5c8deb74e0}{mcc\+Uid}}
\item 
int \mbox{\hyperlink{classio_1_1agora_1_1musiccontentcenter_1_1_music_content_center_configuration_af79bcb5572e98e4461f08ce014cfcc79}{max\+Cache\+Size}}
\item 
\mbox{\hyperlink{interfaceio_1_1agora_1_1musiccontentcenter_1_1_i_music_content_center_event_handler}{I\+Music\+Content\+Center\+Event\+Handler}} \mbox{\hyperlink{classio_1_1agora_1_1musiccontentcenter_1_1_music_content_center_configuration_afe3d525f1bafb5a7c4b6706b811ce4bd}{event\+Handler}}
\item 
String \mbox{\hyperlink{classio_1_1agora_1_1musiccontentcenter_1_1_music_content_center_configuration_a814d766ae68581abeb4f6531508caf80}{mcc\+Domain}}
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Settings for the music content center. 

\doxysubsection{Member Data Documentation}
\mbox{\Hypertarget{classio_1_1agora_1_1musiccontentcenter_1_1_music_content_center_configuration_a82f35aba41d8a78601c954914b20ee41}\label{classio_1_1agora_1_1musiccontentcenter_1_1_music_content_center_configuration_a82f35aba41d8a78601c954914b20ee41}} 
\index{io.agora.musiccontentcenter.MusicContentCenterConfiguration@{io.agora.musiccontentcenter.MusicContentCenterConfiguration}!appId@{appId}}
\index{appId@{appId}!io.agora.musiccontentcenter.MusicContentCenterConfiguration@{io.agora.musiccontentcenter.MusicContentCenterConfiguration}}
\doxysubsubsection{\texorpdfstring{appId}{appId}}
{\footnotesize\ttfamily String io.\+agora.\+musiccontentcenter.\+Music\+Content\+Center\+Configuration.\+app\+Id}

The App ID of the project with content center enabled. \mbox{\Hypertarget{classio_1_1agora_1_1musiccontentcenter_1_1_music_content_center_configuration_a1fd882ee6d7c4d5402fc913c916b921e}\label{classio_1_1agora_1_1musiccontentcenter_1_1_music_content_center_configuration_a1fd882ee6d7c4d5402fc913c916b921e}} 
\index{io.agora.musiccontentcenter.MusicContentCenterConfiguration@{io.agora.musiccontentcenter.MusicContentCenterConfiguration}!token@{token}}
\index{token@{token}!io.agora.musiccontentcenter.MusicContentCenterConfiguration@{io.agora.musiccontentcenter.MusicContentCenterConfiguration}}
\doxysubsubsection{\texorpdfstring{token}{token}}
{\footnotesize\ttfamily String io.\+agora.\+musiccontentcenter.\+Music\+Content\+Center\+Configuration.\+token}

The R\+TM Token used for authentication when using the music content center. \begin{DoxyNote}{Note}

\begin{DoxyItemize}
\item Agora recommends that you use Access\+Token2 for authentication. See {\ttfamily Deploying the Token Server} for details. When generating the Token, pass the {\ttfamily String} type {\ttfamily mcc\+Uid} to the {\ttfamily uid} parameter.
\item When your Token is about to expire, you can call {\ttfamily renew\+Token} to provide a new Token. 
\end{DoxyItemize}
\end{DoxyNote}
\mbox{\Hypertarget{classio_1_1agora_1_1musiccontentcenter_1_1_music_content_center_configuration_af73007664027441f99b19f5c8deb74e0}\label{classio_1_1agora_1_1musiccontentcenter_1_1_music_content_center_configuration_af73007664027441f99b19f5c8deb74e0}} 
\index{io.agora.musiccontentcenter.MusicContentCenterConfiguration@{io.agora.musiccontentcenter.MusicContentCenterConfiguration}!mccUid@{mccUid}}
\index{mccUid@{mccUid}!io.agora.musiccontentcenter.MusicContentCenterConfiguration@{io.agora.musiccontentcenter.MusicContentCenterConfiguration}}
\doxysubsubsection{\texorpdfstring{mccUid}{mccUid}}
{\footnotesize\ttfamily long io.\+agora.\+musiccontentcenter.\+Music\+Content\+Center\+Configuration.\+mcc\+Uid}

ID of the user to use the music content center. This ID can be the same as the {\ttfamily uid} you use to join the R\+TC channel, but it cannot be 0. \mbox{\Hypertarget{classio_1_1agora_1_1musiccontentcenter_1_1_music_content_center_configuration_af79bcb5572e98e4461f08ce014cfcc79}\label{classio_1_1agora_1_1musiccontentcenter_1_1_music_content_center_configuration_af79bcb5572e98e4461f08ce014cfcc79}} 
\index{io.agora.musiccontentcenter.MusicContentCenterConfiguration@{io.agora.musiccontentcenter.MusicContentCenterConfiguration}!maxCacheSize@{maxCacheSize}}
\index{maxCacheSize@{maxCacheSize}!io.agora.musiccontentcenter.MusicContentCenterConfiguration@{io.agora.musiccontentcenter.MusicContentCenterConfiguration}}
\doxysubsubsection{\texorpdfstring{maxCacheSize}{maxCacheSize}}
{\footnotesize\ttfamily int io.\+agora.\+musiccontentcenter.\+Music\+Content\+Center\+Configuration.\+max\+Cache\+Size}

The number of cacheable music resources must not exceed 50. \mbox{\Hypertarget{classio_1_1agora_1_1musiccontentcenter_1_1_music_content_center_configuration_afe3d525f1bafb5a7c4b6706b811ce4bd}\label{classio_1_1agora_1_1musiccontentcenter_1_1_music_content_center_configuration_afe3d525f1bafb5a7c4b6706b811ce4bd}} 
\index{io.agora.musiccontentcenter.MusicContentCenterConfiguration@{io.agora.musiccontentcenter.MusicContentCenterConfiguration}!eventHandler@{eventHandler}}
\index{eventHandler@{eventHandler}!io.agora.musiccontentcenter.MusicContentCenterConfiguration@{io.agora.musiccontentcenter.MusicContentCenterConfiguration}}
\doxysubsubsection{\texorpdfstring{eventHandler}{eventHandler}}
{\footnotesize\ttfamily \mbox{\hyperlink{interfaceio_1_1agora_1_1musiccontentcenter_1_1_i_music_content_center_event_handler}{I\+Music\+Content\+Center\+Event\+Handler}} io.\+agora.\+musiccontentcenter.\+Music\+Content\+Center\+Configuration.\+event\+Handler}

The event callbacks to be received. See {\ttfamily \mbox{\hyperlink{interfaceio_1_1agora_1_1musiccontentcenter_1_1_i_music_content_center_event_handler}{I\+Music\+Content\+Center\+Event\+Handler}}} for details. \mbox{\Hypertarget{classio_1_1agora_1_1musiccontentcenter_1_1_music_content_center_configuration_a814d766ae68581abeb4f6531508caf80}\label{classio_1_1agora_1_1musiccontentcenter_1_1_music_content_center_configuration_a814d766ae68581abeb4f6531508caf80}} 
\index{io.agora.musiccontentcenter.MusicContentCenterConfiguration@{io.agora.musiccontentcenter.MusicContentCenterConfiguration}!mccDomain@{mccDomain}}
\index{mccDomain@{mccDomain}!io.agora.musiccontentcenter.MusicContentCenterConfiguration@{io.agora.musiccontentcenter.MusicContentCenterConfiguration}}
\doxysubsubsection{\texorpdfstring{mccDomain}{mccDomain}}
{\footnotesize\ttfamily String io.\+agora.\+musiccontentcenter.\+Music\+Content\+Center\+Configuration.\+mcc\+Domain}

@technical preview 