\hypertarget{classio_1_1agora_1_1rte_1_1_config}{}\doxysection{io.\+agora.\+rte.\+Config Class Reference}
\label{classio_1_1agora_1_1rte_1_1_config}\index{io.agora.rte.Config@{io.agora.rte.Config}}


R\+TE configuration class, used to configure the {\ttfamily R\+TE} object.  


\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classio_1_1agora_1_1rte_1_1_config_a25ef07fdb3f9a0fb154dfe0728ced024}\label{classio_1_1agora_1_1rte_1_1_config_a25ef07fdb3f9a0fb154dfe0728ced024}} 
long {\bfseries get\+Native\+Handle} ()
\item 
void \mbox{\hyperlink{classio_1_1agora_1_1rte_1_1_config_a7f7bd148998ff27becf8b3ba777ac4c8}{set\+App\+Id}} (String app\+Id)  throws Rte\+Exception 
\begin{DoxyCompactList}\small\item\em Sets the App ID. \end{DoxyCompactList}\item 
String \mbox{\hyperlink{classio_1_1agora_1_1rte_1_1_config_a267fd0124c13e9cfa00d5260661d29f8}{get\+App\+Id}} ()  throws Rte\+Exception 
\item 
void \mbox{\hyperlink{classio_1_1agora_1_1rte_1_1_config_aac06aaede8d0f92d4bd885feb381b498}{set\+Log\+Folder}} (String log\+Folder)  throws Rte\+Exception 
\item 
String \mbox{\hyperlink{classio_1_1agora_1_1rte_1_1_config_a85e7eaf1c2539c87c0539c9228c6aa17}{get\+Log\+Folder}} ()  throws Rte\+Exception 
\item 
void \mbox{\hyperlink{classio_1_1agora_1_1rte_1_1_config_acb8150bfb31eb80965f6d219c928979a}{set\+Log\+File\+Size}} (int log\+File\+Size)  throws Rte\+Exception 
\item 
int \mbox{\hyperlink{classio_1_1agora_1_1rte_1_1_config_a66512b95af88188e8cc41643e7013940}{get\+Log\+File\+Size}} ()  throws Rte\+Exception 
\item 
void \mbox{\hyperlink{classio_1_1agora_1_1rte_1_1_config_a23f550570843d9fa1f76e21552f2f00d}{set\+Area\+Code}} (int area\+Code)  throws Rte\+Exception 
\item 
int \mbox{\hyperlink{classio_1_1agora_1_1rte_1_1_config_afb30bcdb06ae493964fdf8cddabb4a10}{get\+Area\+Code}} ()  throws Rte\+Exception 
\item 
void \mbox{\hyperlink{classio_1_1agora_1_1rte_1_1_config_a38e9abf677374de2d1a2eecdc3b54474}{set\+Cloud\+Proxy}} (String cloud\+Proxy)  throws Rte\+Exception 
\item 
String \mbox{\hyperlink{classio_1_1agora_1_1rte_1_1_config_a010d97fd74bcaff528c83847b8514d16}{get\+Cloud\+Proxy}} ()  throws Rte\+Exception 
\item 
void \mbox{\hyperlink{classio_1_1agora_1_1rte_1_1_config_ad452d42f4730f8b234ae120709eae894}{set\+Json\+Parameter}} (String json\+Parameter)  throws Rte\+Exception 
\begin{DoxyCompactList}\small\item\em Configures technical preview or specially customized features of the S\+DK via J\+S\+ON. \end{DoxyCompactList}\item 
String \mbox{\hyperlink{classio_1_1agora_1_1rte_1_1_config_a1611fc255e9202fc3f44d7019c17e68c}{get\+Json\+Parameter}} ()  throws Rte\+Exception 
\end{DoxyCompactItemize}
\doxysubsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classio_1_1agora_1_1rte_1_1_config_ac32561d099277d507ec119882eff649f}\label{classio_1_1agora_1_1rte_1_1_config_ac32561d099277d507ec119882eff649f}} 
void {\bfseries finalize} ()
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
R\+TE configuration class, used to configure the {\ttfamily R\+TE} object. 

\begin{DoxySince}{Since}
v4.\+4.\+0 
\end{DoxySince}


\doxysubsection{Member Function Documentation}
\mbox{\Hypertarget{classio_1_1agora_1_1rte_1_1_config_a7f7bd148998ff27becf8b3ba777ac4c8}\label{classio_1_1agora_1_1rte_1_1_config_a7f7bd148998ff27becf8b3ba777ac4c8}} 
\index{io.agora.rte.Config@{io.agora.rte.Config}!setAppId@{setAppId}}
\index{setAppId@{setAppId}!io.agora.rte.Config@{io.agora.rte.Config}}
\doxysubsubsection{\texorpdfstring{setAppId()}{setAppId()}}
{\footnotesize\ttfamily void io.\+agora.\+rte.\+Config.\+set\+App\+Id (\begin{DoxyParamCaption}\item[{String}]{app\+Id }\end{DoxyParamCaption}) throws \mbox{\hyperlink{classio_1_1agora_1_1rte_1_1exception_1_1_rte_exception}{Rte\+Exception}}}



Sets the App ID. 

\begin{DoxySince}{Since}
v4.\+4.\+0
\end{DoxySince}
Call timing\+: You must call this method before {\ttfamily init\+Media\+Engine}.


\begin{DoxyParams}{Parameters}
{\em app\+Id} & The App ID of your project, which you can obtain from the Console.\\
\hline
\end{DoxyParams}

\begin{DoxyExceptions}{Exceptions}
{\em Rte\+Exception} & If the method call fails, the S\+DK throws an {\ttfamily Rte\+Exception} with the corresponding error information. You need to catch and handle the exception. \\
\hline
\end{DoxyExceptions}
\mbox{\Hypertarget{classio_1_1agora_1_1rte_1_1_config_a267fd0124c13e9cfa00d5260661d29f8}\label{classio_1_1agora_1_1rte_1_1_config_a267fd0124c13e9cfa00d5260661d29f8}} 
\index{io.agora.rte.Config@{io.agora.rte.Config}!getAppId@{getAppId}}
\index{getAppId@{getAppId}!io.agora.rte.Config@{io.agora.rte.Config}}
\doxysubsubsection{\texorpdfstring{getAppId()}{getAppId()}}
{\footnotesize\ttfamily String io.\+agora.\+rte.\+Config.\+get\+App\+Id (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) throws \mbox{\hyperlink{classio_1_1agora_1_1rte_1_1exception_1_1_rte_exception}{Rte\+Exception}}}

Get the set App ID. \begin{DoxySince}{Since}
v4.\+4.\+0 
\end{DoxySince}
\begin{DoxyReturn}{Returns}
String Returns the set App ID value. 
\end{DoxyReturn}
\mbox{\Hypertarget{classio_1_1agora_1_1rte_1_1_config_aac06aaede8d0f92d4bd885feb381b498}\label{classio_1_1agora_1_1rte_1_1_config_aac06aaede8d0f92d4bd885feb381b498}} 
\index{io.agora.rte.Config@{io.agora.rte.Config}!setLogFolder@{setLogFolder}}
\index{setLogFolder@{setLogFolder}!io.agora.rte.Config@{io.agora.rte.Config}}
\doxysubsubsection{\texorpdfstring{setLogFolder()}{setLogFolder()}}
{\footnotesize\ttfamily void io.\+agora.\+rte.\+Config.\+set\+Log\+Folder (\begin{DoxyParamCaption}\item[{String}]{log\+Folder }\end{DoxyParamCaption}) throws \mbox{\hyperlink{classio_1_1agora_1_1rte_1_1exception_1_1_rte_exception}{Rte\+Exception}}}

Set the log folder. \begin{DoxySince}{Since}
v4.\+4.\+0 
\end{DoxySince}

\begin{DoxyParams}{Parameters}
{\em log\+Folder} & The log folder. \\
\hline
\end{DoxyParams}

\begin{DoxyExceptions}{Exceptions}
{\em Rte\+Exception} & @technical preview \\
\hline
\end{DoxyExceptions}
\mbox{\Hypertarget{classio_1_1agora_1_1rte_1_1_config_a85e7eaf1c2539c87c0539c9228c6aa17}\label{classio_1_1agora_1_1rte_1_1_config_a85e7eaf1c2539c87c0539c9228c6aa17}} 
\index{io.agora.rte.Config@{io.agora.rte.Config}!getLogFolder@{getLogFolder}}
\index{getLogFolder@{getLogFolder}!io.agora.rte.Config@{io.agora.rte.Config}}
\doxysubsubsection{\texorpdfstring{getLogFolder()}{getLogFolder()}}
{\footnotesize\ttfamily String io.\+agora.\+rte.\+Config.\+get\+Log\+Folder (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) throws \mbox{\hyperlink{classio_1_1agora_1_1rte_1_1exception_1_1_rte_exception}{Rte\+Exception}}}

Get the log folder. \begin{DoxySince}{Since}
v4.\+4.\+0 
\end{DoxySince}
\begin{DoxyReturn}{Returns}
The log folder. 
\end{DoxyReturn}

\begin{DoxyExceptions}{Exceptions}
{\em Rte\+Exception} & @technical preview \\
\hline
\end{DoxyExceptions}
\mbox{\Hypertarget{classio_1_1agora_1_1rte_1_1_config_acb8150bfb31eb80965f6d219c928979a}\label{classio_1_1agora_1_1rte_1_1_config_acb8150bfb31eb80965f6d219c928979a}} 
\index{io.agora.rte.Config@{io.agora.rte.Config}!setLogFileSize@{setLogFileSize}}
\index{setLogFileSize@{setLogFileSize}!io.agora.rte.Config@{io.agora.rte.Config}}
\doxysubsubsection{\texorpdfstring{setLogFileSize()}{setLogFileSize()}}
{\footnotesize\ttfamily void io.\+agora.\+rte.\+Config.\+set\+Log\+File\+Size (\begin{DoxyParamCaption}\item[{int}]{log\+File\+Size }\end{DoxyParamCaption}) throws \mbox{\hyperlink{classio_1_1agora_1_1rte_1_1exception_1_1_rte_exception}{Rte\+Exception}}}

Set the log file size. \begin{DoxySince}{Since}
v4.\+4.\+0 
\end{DoxySince}

\begin{DoxyParams}{Parameters}
{\em log\+File\+Size} & The log file size. \\
\hline
\end{DoxyParams}

\begin{DoxyExceptions}{Exceptions}
{\em Rte\+Exception} & @technical preview \\
\hline
\end{DoxyExceptions}
\mbox{\Hypertarget{classio_1_1agora_1_1rte_1_1_config_a66512b95af88188e8cc41643e7013940}\label{classio_1_1agora_1_1rte_1_1_config_a66512b95af88188e8cc41643e7013940}} 
\index{io.agora.rte.Config@{io.agora.rte.Config}!getLogFileSize@{getLogFileSize}}
\index{getLogFileSize@{getLogFileSize}!io.agora.rte.Config@{io.agora.rte.Config}}
\doxysubsubsection{\texorpdfstring{getLogFileSize()}{getLogFileSize()}}
{\footnotesize\ttfamily int io.\+agora.\+rte.\+Config.\+get\+Log\+File\+Size (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) throws \mbox{\hyperlink{classio_1_1agora_1_1rte_1_1exception_1_1_rte_exception}{Rte\+Exception}}}

Get the log file size. \begin{DoxySince}{Since}
v4.\+4.\+0 
\end{DoxySince}
\begin{DoxyReturn}{Returns}
The log file size. 
\end{DoxyReturn}

\begin{DoxyExceptions}{Exceptions}
{\em Rte\+Exception} & @technical preview \\
\hline
\end{DoxyExceptions}
\mbox{\Hypertarget{classio_1_1agora_1_1rte_1_1_config_a23f550570843d9fa1f76e21552f2f00d}\label{classio_1_1agora_1_1rte_1_1_config_a23f550570843d9fa1f76e21552f2f00d}} 
\index{io.agora.rte.Config@{io.agora.rte.Config}!setAreaCode@{setAreaCode}}
\index{setAreaCode@{setAreaCode}!io.agora.rte.Config@{io.agora.rte.Config}}
\doxysubsubsection{\texorpdfstring{setAreaCode()}{setAreaCode()}}
{\footnotesize\ttfamily void io.\+agora.\+rte.\+Config.\+set\+Area\+Code (\begin{DoxyParamCaption}\item[{int}]{area\+Code }\end{DoxyParamCaption}) throws \mbox{\hyperlink{classio_1_1agora_1_1rte_1_1exception_1_1_rte_exception}{Rte\+Exception}}}

Set the area code. \begin{DoxySince}{Since}
v4.\+4.\+0 
\end{DoxySince}

\begin{DoxyParams}{Parameters}
{\em area\+Code} & The area code. \\
\hline
\end{DoxyParams}

\begin{DoxyExceptions}{Exceptions}
{\em Rte\+Exception} & @technical preview \\
\hline
\end{DoxyExceptions}
\mbox{\Hypertarget{classio_1_1agora_1_1rte_1_1_config_afb30bcdb06ae493964fdf8cddabb4a10}\label{classio_1_1agora_1_1rte_1_1_config_afb30bcdb06ae493964fdf8cddabb4a10}} 
\index{io.agora.rte.Config@{io.agora.rte.Config}!getAreaCode@{getAreaCode}}
\index{getAreaCode@{getAreaCode}!io.agora.rte.Config@{io.agora.rte.Config}}
\doxysubsubsection{\texorpdfstring{getAreaCode()}{getAreaCode()}}
{\footnotesize\ttfamily int io.\+agora.\+rte.\+Config.\+get\+Area\+Code (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) throws \mbox{\hyperlink{classio_1_1agora_1_1rte_1_1exception_1_1_rte_exception}{Rte\+Exception}}}

Get the area code. \begin{DoxySince}{Since}
v4.\+4.\+0 
\end{DoxySince}
\begin{DoxyReturn}{Returns}
The area code. 
\end{DoxyReturn}

\begin{DoxyExceptions}{Exceptions}
{\em Rte\+Exception} & @technical preview \\
\hline
\end{DoxyExceptions}
\mbox{\Hypertarget{classio_1_1agora_1_1rte_1_1_config_a38e9abf677374de2d1a2eecdc3b54474}\label{classio_1_1agora_1_1rte_1_1_config_a38e9abf677374de2d1a2eecdc3b54474}} 
\index{io.agora.rte.Config@{io.agora.rte.Config}!setCloudProxy@{setCloudProxy}}
\index{setCloudProxy@{setCloudProxy}!io.agora.rte.Config@{io.agora.rte.Config}}
\doxysubsubsection{\texorpdfstring{setCloudProxy()}{setCloudProxy()}}
{\footnotesize\ttfamily void io.\+agora.\+rte.\+Config.\+set\+Cloud\+Proxy (\begin{DoxyParamCaption}\item[{String}]{cloud\+Proxy }\end{DoxyParamCaption}) throws \mbox{\hyperlink{classio_1_1agora_1_1rte_1_1exception_1_1_rte_exception}{Rte\+Exception}}}

Set the cloud proxy. \begin{DoxySince}{Since}
v4.\+4.\+0 
\end{DoxySince}

\begin{DoxyParams}{Parameters}
{\em cloud\+Proxy} & The cloud proxy. \\
\hline
\end{DoxyParams}

\begin{DoxyExceptions}{Exceptions}
{\em Rte\+Exception} & @technical preview \\
\hline
\end{DoxyExceptions}
\mbox{\Hypertarget{classio_1_1agora_1_1rte_1_1_config_a010d97fd74bcaff528c83847b8514d16}\label{classio_1_1agora_1_1rte_1_1_config_a010d97fd74bcaff528c83847b8514d16}} 
\index{io.agora.rte.Config@{io.agora.rte.Config}!getCloudProxy@{getCloudProxy}}
\index{getCloudProxy@{getCloudProxy}!io.agora.rte.Config@{io.agora.rte.Config}}
\doxysubsubsection{\texorpdfstring{getCloudProxy()}{getCloudProxy()}}
{\footnotesize\ttfamily String io.\+agora.\+rte.\+Config.\+get\+Cloud\+Proxy (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) throws \mbox{\hyperlink{classio_1_1agora_1_1rte_1_1exception_1_1_rte_exception}{Rte\+Exception}}}

Get the cloud proxy. \begin{DoxySince}{Since}
v4.\+4.\+0 
\end{DoxySince}
\begin{DoxyReturn}{Returns}
The cloud proxy. 
\end{DoxyReturn}

\begin{DoxyExceptions}{Exceptions}
{\em Rte\+Exception} & @technical preview \\
\hline
\end{DoxyExceptions}
\mbox{\Hypertarget{classio_1_1agora_1_1rte_1_1_config_ad452d42f4730f8b234ae120709eae894}\label{classio_1_1agora_1_1rte_1_1_config_ad452d42f4730f8b234ae120709eae894}} 
\index{io.agora.rte.Config@{io.agora.rte.Config}!setJsonParameter@{setJsonParameter}}
\index{setJsonParameter@{setJsonParameter}!io.agora.rte.Config@{io.agora.rte.Config}}
\doxysubsubsection{\texorpdfstring{setJsonParameter()}{setJsonParameter()}}
{\footnotesize\ttfamily void io.\+agora.\+rte.\+Config.\+set\+Json\+Parameter (\begin{DoxyParamCaption}\item[{String}]{json\+Parameter }\end{DoxyParamCaption}) throws \mbox{\hyperlink{classio_1_1agora_1_1rte_1_1exception_1_1_rte_exception}{Rte\+Exception}}}



Configures technical preview or specially customized features of the S\+DK via J\+S\+ON. 

\begin{DoxySince}{Since}
v4.\+4.\+0
\end{DoxySince}
Applicable scenarios\+: You can call this method when you need to set private parameters or use customized features. Call timing\+: This method must be called before {\ttfamily set\+Configs(\+Config config)}.


\begin{DoxyParams}{Parameters}
{\em json\+Parameter} & Parameters in J\+S\+ON string format.\\
\hline
\end{DoxyParams}

\begin{DoxyExceptions}{Exceptions}
{\em Rte\+Exception} & If the method call fails, the S\+DK throws an {\ttfamily Rte\+Exception} with corresponding error information. You need to catch and handle the exception. \\
\hline
\end{DoxyExceptions}
\mbox{\Hypertarget{classio_1_1agora_1_1rte_1_1_config_a1611fc255e9202fc3f44d7019c17e68c}\label{classio_1_1agora_1_1rte_1_1_config_a1611fc255e9202fc3f44d7019c17e68c}} 
\index{io.agora.rte.Config@{io.agora.rte.Config}!getJsonParameter@{getJsonParameter}}
\index{getJsonParameter@{getJsonParameter}!io.agora.rte.Config@{io.agora.rte.Config}}
\doxysubsubsection{\texorpdfstring{getJsonParameter()}{getJsonParameter()}}
{\footnotesize\ttfamily String io.\+agora.\+rte.\+Config.\+get\+Json\+Parameter (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) throws \mbox{\hyperlink{classio_1_1agora_1_1rte_1_1exception_1_1_rte_exception}{Rte\+Exception}}}

Get the currently set J\+S\+ON private parameters. \begin{DoxySince}{Since}
v4.\+4.\+0 
\end{DoxySince}
\begin{DoxyReturn}{Returns}
String The set J\+S\+ON formatted parameter set. 
\end{DoxyReturn}
