\hypertarget{classio_1_1agora_1_1rtc2_1_1_rtc_engine_config}{}\doxysection{io.\+agora.\+rtc2.\+Rtc\+Engine\+Config Class Reference}
\label{classio_1_1agora_1_1rtc2_1_1_rtc_engine_config}\index{io.agora.rtc2.RtcEngineConfig@{io.agora.rtc2.RtcEngineConfig}}
\doxysubsection*{Classes}
\begin{DoxyCompactItemize}
\item 
class \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_rtc_engine_config_1_1_area_code}{Area\+Code}}
\item 
class \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_rtc_engine_config_1_1_log_config}{Log\+Config}}
\end{DoxyCompactItemize}
\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_rtc_engine_config_ab9f0a4ff612fb0d52ac8b7886cb61e9c}\label{classio_1_1agora_1_1rtc2_1_1_rtc_engine_config_ab9f0a4ff612fb0d52ac8b7886cb61e9c}} 
void {\bfseries add\+Extension} (String provider\+Name)
\item 
\mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_rtc_engine_config_ac518e126b81c86c30fdaead5006b9075}\label{classio_1_1agora_1_1rtc2_1_1_rtc_engine_config_ac518e126b81c86c30fdaead5006b9075}} 
Context {\bfseries get\+Context} ()
\item 
\mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_rtc_engine_config_a6b97ab5bbd8f31d7ec3af407794f29e2}\label{classio_1_1agora_1_1rtc2_1_1_rtc_engine_config_a6b97ab5bbd8f31d7ec3af407794f29e2}} 
String {\bfseries get\+App\+Id} ()
\item 
\mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_rtc_engine_config_a2224a5ef98114a7ded2e81b7b28005ea}\label{classio_1_1agora_1_1rtc2_1_1_rtc_engine_config_a2224a5ef98114a7ded2e81b7b28005ea}} 
int {\bfseries get\+Channel\+Profile} ()
\item 
\mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_rtc_engine_config_a0a7d6d6a87cfc790f6de498831c25a37}\label{classio_1_1agora_1_1rtc2_1_1_rtc_engine_config_a0a7d6d6a87cfc790f6de498831c25a37}} 
String {\bfseries get\+License} ()
\item 
\mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_rtc_engine_config_a26a4d8ab3a88349a92119db84b613f3d}\label{classio_1_1agora_1_1rtc2_1_1_rtc_engine_config_a26a4d8ab3a88349a92119db84b613f3d}} 
int {\bfseries get\+Audio\+Scenario} ()
\item 
\mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_rtc_engine_config_a47389997dc3191d40a4464bed5a33180}\label{classio_1_1agora_1_1rtc2_1_1_rtc_engine_config_a47389997dc3191d40a4464bed5a33180}} 
int {\bfseries get\+Area\+Code} ()
\item 
\mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_rtc_engine_config_a1cdf089b4116349b893bdaf773113e11}\label{classio_1_1agora_1_1rtc2_1_1_rtc_engine_config_a1cdf089b4116349b893bdaf773113e11}} 
\mbox{\hyperlink{interfaceio_1_1agora_1_1rtc2_1_1_i_media_extension_observer}{I\+Media\+Extension\+Observer}} {\bfseries get\+Extension\+Observer} ()
\item 
\mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_rtc_engine_config_ab375e23c6c9b47f4da4cca677b01512c}\label{classio_1_1agora_1_1rtc2_1_1_rtc_engine_config_ab375e23c6c9b47f4da4cca677b01512c}} 
\mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_rtc_engine_config_1_1_log_config}{Log\+Config}} {\bfseries get\+Log\+Config} ()
\item 
\mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_rtc_engine_config_a158f19425ee041d748dcde02c7f86646}\label{classio_1_1agora_1_1rtc2_1_1_rtc_engine_config_a158f19425ee041d748dcde02c7f86646}} 
Integer {\bfseries get\+Thread\+Priority} ()
\item 
\mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_rtc_engine_config_a17dc8c26bef9d31f6f899add8da5d97d}\label{classio_1_1agora_1_1rtc2_1_1_rtc_engine_config_a17dc8c26bef9d31f6f899add8da5d97d}} 
boolean {\bfseries get\+Domain\+Limit} ()
\item 
\mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_rtc_engine_config_a9ff1da7d878faa641da14193655f42b1}\label{classio_1_1agora_1_1rtc2_1_1_rtc_engine_config_a9ff1da7d878faa641da14193655f42b1}} 
boolean {\bfseries get\+Auto\+Register\+Agora\+Extensions} ()
\end{DoxyCompactItemize}
\doxysubsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_i_rtc_engine_event_handler}{I\+Rtc\+Engine\+Event\+Handler}} \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_rtc_engine_config_ae586c97d5c275b5bac2d842e8609c0b5}{m\+Event\+Handler}}
\item 
Context \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_rtc_engine_config_acc8f71cb6c8419e8f6eb441f46db4aa8}{m\+Context}}
\item 
String \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_rtc_engine_config_a45b0202838d37d29efbef58ddf50bd87}{m\+App\+Id}}
\item 
int \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_rtc_engine_config_a37b3334a19bdec851bcc160162b1fc64}{m\+Area\+Code}}
\item 
int \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_rtc_engine_config_a24758ebc46b2883520663f44df767611}{m\+Channel\+Profile}}
\item 
String \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_rtc_engine_config_a2988e30ee4feccc036e197961a334fb3}{m\+License}}
\item 
int \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_rtc_engine_config_a00821a8f2dc6224f8b5d751fd699cac3}{m\+Audio\+Scenario}}
\item 
boolean \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_rtc_engine_config_a4e84435353200f9c26fe79594e7bd4c7}{m\+Auto\+Register\+Agora\+Extensions}}
\item 
List$<$ String $>$ \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_rtc_engine_config_ae7326c409acf011ef17105fbd399590d}{m\+Extension\+List}}
\item 
\mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_rtc_engine_config_a41321e1540e4bccd010a382e971f3ac4}\label{classio_1_1agora_1_1rtc2_1_1_rtc_engine_config_a41321e1540e4bccd010a382e971f3ac4}} 
\mbox{\hyperlink{interfaceio_1_1agora_1_1rtc2_1_1_i_media_extension_observer}{I\+Media\+Extension\+Observer}} {\bfseries m\+Extension\+Observer}
\item 
\mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_rtc_engine_config_a0034d3cf977863b3f483e21347cac8d5}\label{classio_1_1agora_1_1rtc2_1_1_rtc_engine_config_a0034d3cf977863b3f483e21347cac8d5}} 
\mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_rtc_engine_config_1_1_log_config}{Log\+Config}} {\bfseries m\+Log\+Config}
\item 
Integer \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_rtc_engine_config_a9f0478161d7c7773024ad72be7bec6e0}{m\+Thread\+Priority}}
\item 
String \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_rtc_engine_config_a7918356e105410fcdf8e22526b7658b3}{m\+Native\+Lib\+Path}}
\item 
boolean \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_rtc_engine_config_a3ccb5221d7d4b5c55ed633b1d25ae524}{m\+Domain\+Limit}}
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Configurations for the \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_rtc_engine}{Rtc\+Engine}} instance. 

\doxysubsection{Member Data Documentation}
\mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_rtc_engine_config_ae586c97d5c275b5bac2d842e8609c0b5}\label{classio_1_1agora_1_1rtc2_1_1_rtc_engine_config_ae586c97d5c275b5bac2d842e8609c0b5}} 
\index{io.agora.rtc2.RtcEngineConfig@{io.agora.rtc2.RtcEngineConfig}!mEventHandler@{mEventHandler}}
\index{mEventHandler@{mEventHandler}!io.agora.rtc2.RtcEngineConfig@{io.agora.rtc2.RtcEngineConfig}}
\doxysubsubsection{\texorpdfstring{mEventHandler}{mEventHandler}}
{\footnotesize\ttfamily \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_i_rtc_engine_event_handler}{I\+Rtc\+Engine\+Event\+Handler}} io.\+agora.\+rtc2.\+Rtc\+Engine\+Config.\+m\+Event\+Handler}

\mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_i_rtc_engine_event_handler}{I\+Rtc\+Engine\+Event\+Handler}} is an abstract class providing default implementation. The S\+DK uses this class for reporting on S\+DK runtime events. \mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_rtc_engine_config_acc8f71cb6c8419e8f6eb441f46db4aa8}\label{classio_1_1agora_1_1rtc2_1_1_rtc_engine_config_acc8f71cb6c8419e8f6eb441f46db4aa8}} 
\index{io.agora.rtc2.RtcEngineConfig@{io.agora.rtc2.RtcEngineConfig}!mContext@{mContext}}
\index{mContext@{mContext}!io.agora.rtc2.RtcEngineConfig@{io.agora.rtc2.RtcEngineConfig}}
\doxysubsubsection{\texorpdfstring{mContext}{mContext}}
{\footnotesize\ttfamily Context io.\+agora.\+rtc2.\+Rtc\+Engine\+Config.\+m\+Context}

The context of Android Activity. \mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_rtc_engine_config_a45b0202838d37d29efbef58ddf50bd87}\label{classio_1_1agora_1_1rtc2_1_1_rtc_engine_config_a45b0202838d37d29efbef58ddf50bd87}} 
\index{io.agora.rtc2.RtcEngineConfig@{io.agora.rtc2.RtcEngineConfig}!mAppId@{mAppId}}
\index{mAppId@{mAppId}!io.agora.rtc2.RtcEngineConfig@{io.agora.rtc2.RtcEngineConfig}}
\doxysubsubsection{\texorpdfstring{mAppId}{mAppId}}
{\footnotesize\ttfamily String io.\+agora.\+rtc2.\+Rtc\+Engine\+Config.\+m\+App\+Id}

The App ID issued to you by Agora. See \href{https://docs.agora.io/en/Agora\%20Platform/token\#get-an-app-id}{\texttt{ How to get the App ID}}. Only users in apps with the same App ID can join the same channel and communicate with each other. Use an App ID to create only one \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_rtc_engine}{Rtc\+Engine}} instance. To change your App ID, call destroy to \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_rtc_engine_a87e95e4a63d9f2ff9f04f632ffccfce8}{destroy}} the current \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_rtc_engine}{Rtc\+Engine}} instance and then call {\ttfamily create} to create an \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_rtc_engine}{Rtc\+Engine}} instance with the new App ID. \mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_rtc_engine_config_a37b3334a19bdec851bcc160162b1fc64}\label{classio_1_1agora_1_1rtc2_1_1_rtc_engine_config_a37b3334a19bdec851bcc160162b1fc64}} 
\index{io.agora.rtc2.RtcEngineConfig@{io.agora.rtc2.RtcEngineConfig}!mAreaCode@{mAreaCode}}
\index{mAreaCode@{mAreaCode}!io.agora.rtc2.RtcEngineConfig@{io.agora.rtc2.RtcEngineConfig}}
\doxysubsubsection{\texorpdfstring{mAreaCode}{mAreaCode}}
{\footnotesize\ttfamily int io.\+agora.\+rtc2.\+Rtc\+Engine\+Config.\+m\+Area\+Code}

The region for connection. This advanced feature applies to scenarios that have regional restrictions.

For the regions that Agora supports, see \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_rtc_engine_config_1_1_area_code}{Area\+Code}}. After specifying the region, the app that integrates the Agora S\+DK connects to the Agora servers within that region. \mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_rtc_engine_config_a24758ebc46b2883520663f44df767611}\label{classio_1_1agora_1_1rtc2_1_1_rtc_engine_config_a24758ebc46b2883520663f44df767611}} 
\index{io.agora.rtc2.RtcEngineConfig@{io.agora.rtc2.RtcEngineConfig}!mChannelProfile@{mChannelProfile}}
\index{mChannelProfile@{mChannelProfile}!io.agora.rtc2.RtcEngineConfig@{io.agora.rtc2.RtcEngineConfig}}
\doxysubsubsection{\texorpdfstring{mChannelProfile}{mChannelProfile}}
{\footnotesize\ttfamily int io.\+agora.\+rtc2.\+Rtc\+Engine\+Config.\+m\+Channel\+Profile}

The channel profile of the Agora \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_rtc_engine}{Rtc\+Engine}}.

The Agora \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_rtc_engine}{Rtc\+Engine}} differentiates channel profiles and applies different optimization algorithms accordingly. For example, it prioritizes smoothness and low latency for a video call, and prioritizes video quality for a video broadcast. \mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_rtc_engine_config_a2988e30ee4feccc036e197961a334fb3}\label{classio_1_1agora_1_1rtc2_1_1_rtc_engine_config_a2988e30ee4feccc036e197961a334fb3}} 
\index{io.agora.rtc2.RtcEngineConfig@{io.agora.rtc2.RtcEngineConfig}!mLicense@{mLicense}}
\index{mLicense@{mLicense}!io.agora.rtc2.RtcEngineConfig@{io.agora.rtc2.RtcEngineConfig}}
\doxysubsubsection{\texorpdfstring{mLicense}{mLicense}}
{\footnotesize\ttfamily String io.\+agora.\+rtc2.\+Rtc\+Engine\+Config.\+m\+License}

The license used for verification when connectting channel. Charge according to the license \mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_rtc_engine_config_a00821a8f2dc6224f8b5d751fd699cac3}\label{classio_1_1agora_1_1rtc2_1_1_rtc_engine_config_a00821a8f2dc6224f8b5d751fd699cac3}} 
\index{io.agora.rtc2.RtcEngineConfig@{io.agora.rtc2.RtcEngineConfig}!mAudioScenario@{mAudioScenario}}
\index{mAudioScenario@{mAudioScenario}!io.agora.rtc2.RtcEngineConfig@{io.agora.rtc2.RtcEngineConfig}}
\doxysubsubsection{\texorpdfstring{mAudioScenario}{mAudioScenario}}
{\footnotesize\ttfamily int io.\+agora.\+rtc2.\+Rtc\+Engine\+Config.\+m\+Audio\+Scenario}

The audio application scenario. See \mbox{\hyperlink{enumio_1_1agora_1_1rtc2_1_1_constants_1_1_audio_scenario}{Audio\+Scenario}}. \mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_rtc_engine_config_a4e84435353200f9c26fe79594e7bd4c7}\label{classio_1_1agora_1_1rtc2_1_1_rtc_engine_config_a4e84435353200f9c26fe79594e7bd4c7}} 
\index{io.agora.rtc2.RtcEngineConfig@{io.agora.rtc2.RtcEngineConfig}!mAutoRegisterAgoraExtensions@{mAutoRegisterAgoraExtensions}}
\index{mAutoRegisterAgoraExtensions@{mAutoRegisterAgoraExtensions}!io.agora.rtc2.RtcEngineConfig@{io.agora.rtc2.RtcEngineConfig}}
\doxysubsubsection{\texorpdfstring{mAutoRegisterAgoraExtensions}{mAutoRegisterAgoraExtensions}}
{\footnotesize\ttfamily boolean io.\+agora.\+rtc2.\+Rtc\+Engine\+Config.\+m\+Auto\+Register\+Agora\+Extensions}

Whether to automatically register Agora extensions when initializing \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_rtc_engine}{Rtc\+Engine}}. -\/true\+: (Default) Automatically register Agora extensions. -\/false\+: Do not automatically register Agora extensions. The user calls Enable\+Extension to manually register an Agora extension. \mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_rtc_engine_config_ae7326c409acf011ef17105fbd399590d}\label{classio_1_1agora_1_1rtc2_1_1_rtc_engine_config_ae7326c409acf011ef17105fbd399590d}} 
\index{io.agora.rtc2.RtcEngineConfig@{io.agora.rtc2.RtcEngineConfig}!mExtensionList@{mExtensionList}}
\index{mExtensionList@{mExtensionList}!io.agora.rtc2.RtcEngineConfig@{io.agora.rtc2.RtcEngineConfig}}
\doxysubsubsection{\texorpdfstring{mExtensionList}{mExtensionList}}
{\footnotesize\ttfamily List$<$String$>$ io.\+agora.\+rtc2.\+Rtc\+Engine\+Config.\+m\+Extension\+List}

The extension list need to preload \mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_rtc_engine_config_a9f0478161d7c7773024ad72be7bec6e0}\label{classio_1_1agora_1_1rtc2_1_1_rtc_engine_config_a9f0478161d7c7773024ad72be7bec6e0}} 
\index{io.agora.rtc2.RtcEngineConfig@{io.agora.rtc2.RtcEngineConfig}!mThreadPriority@{mThreadPriority}}
\index{mThreadPriority@{mThreadPriority}!io.agora.rtc2.RtcEngineConfig@{io.agora.rtc2.RtcEngineConfig}}
\doxysubsubsection{\texorpdfstring{mThreadPriority}{mThreadPriority}}
{\footnotesize\ttfamily Integer io.\+agora.\+rtc2.\+Rtc\+Engine\+Config.\+m\+Thread\+Priority}

Thread priority type. see \mbox{\hyperlink{enumio_1_1agora_1_1rtc2_1_1_constants_1_1_thread_priority_type}{Thread\+Priority\+Type}} \mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_rtc_engine_config_a7918356e105410fcdf8e22526b7658b3}\label{classio_1_1agora_1_1rtc2_1_1_rtc_engine_config_a7918356e105410fcdf8e22526b7658b3}} 
\index{io.agora.rtc2.RtcEngineConfig@{io.agora.rtc2.RtcEngineConfig}!mNativeLibPath@{mNativeLibPath}}
\index{mNativeLibPath@{mNativeLibPath}!io.agora.rtc2.RtcEngineConfig@{io.agora.rtc2.RtcEngineConfig}}
\doxysubsubsection{\texorpdfstring{mNativeLibPath}{mNativeLibPath}}
{\footnotesize\ttfamily String io.\+agora.\+rtc2.\+Rtc\+Engine\+Config.\+m\+Native\+Lib\+Path}

native c++ dynamic library path.

If valued, S\+DK will use \mbox{\hyperlink{}{java.\+lang.\+System\#load(\+String)}} to load the library at the specify path; otherwise, \mbox{\hyperlink{}{java.\+lang.\+System\#load\+Library(\+String)}}\} will be used. \mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_rtc_engine_config_a3ccb5221d7d4b5c55ed633b1d25ae524}\label{classio_1_1agora_1_1rtc2_1_1_rtc_engine_config_a3ccb5221d7d4b5c55ed633b1d25ae524}} 
\index{io.agora.rtc2.RtcEngineConfig@{io.agora.rtc2.RtcEngineConfig}!mDomainLimit@{mDomainLimit}}
\index{mDomainLimit@{mDomainLimit}!io.agora.rtc2.RtcEngineConfig@{io.agora.rtc2.RtcEngineConfig}}
\doxysubsubsection{\texorpdfstring{mDomainLimit}{mDomainLimit}}
{\footnotesize\ttfamily boolean io.\+agora.\+rtc2.\+Rtc\+Engine\+Config.\+m\+Domain\+Limit}

Determines whether to enable domain limit -\/true\+: only connect to servers which already parsed by D\+NS -\/false\+: (Default) connect to servers with no limit 