Agora Java API Reference for Android
|
Public Attributes | |
IRtcEngineEventHandler * | eventHandler |
const char * | appId |
void * | context |
CHANNEL_PROFILE_TYPE | channelProfile |
const char * | license |
AUDIO_SCENARIO_TYPE | audioScenario |
unsigned int | areaCode |
commons::LogConfig | logConfig |
Optional< THREAD_PRIORITY_TYPE > | threadPriority |
bool | useExternalEglContext |
bool | domainLimit |
bool | autoRegisterAgoraExtensions |
IRtcEngineEventHandler* agora::rtc::RtcEngineContext::eventHandler |
The event handler for IRtcEngine.
const char* agora::rtc::RtcEngineContext::appId |
The App ID issued to the developers by Agora. Apply for a new one from Agora if it is missing from your kit.
void* agora::rtc::RtcEngineContext::context |
CHANNEL_PROFILE_TYPE agora::rtc::RtcEngineContext::channelProfile |
The channel profile. See #CHANNEL_PROFILE_TYPE.
const char* agora::rtc::RtcEngineContext::license |
The license used for verification when connecting channel. Charge according to the license
AUDIO_SCENARIO_TYPE agora::rtc::RtcEngineContext::audioScenario |
The audio application scenario. See #AUDIO_SCENARIO_TYPE.
AUDIO_SCENARIO_DEFAULT(0)
AUDIO_SCENARIO_GAME_STREAMING(3)
unsigned int agora::rtc::RtcEngineContext::areaCode |
The region for connection. This advanced feature applies to scenarios that have regional restrictions.
For the regions that Agora supports, see #AREA_CODE.
After specifying the region, the SDK connects to the Agora servers within that region.
commons::LogConfig agora::rtc::RtcEngineContext::logConfig |
The config for custumer set log path, log size and log level
Optional<THREAD_PRIORITY_TYPE> agora::rtc::RtcEngineContext::threadPriority |
Thread priority for SDK common threads
bool agora::rtc::RtcEngineContext::useExternalEglContext |
Whether use egl context in current thread as sdk‘s root egl context which shared by all egl related modules. eg. camera capture, video renderer.
bool agora::rtc::RtcEngineContext::domainLimit |
Determines whether to enable domain limit -true: only connect to servers which already parsed by DNS -false: (Default) connect to servers with no limit
bool agora::rtc::RtcEngineContext::autoRegisterAgoraExtensions |
Whether to automatically register Agora extensions to primary camera track when initializing RtcEngine. -true: (Default) Automatically register Agora extensions. -false: Do not automatically register Agora extensions. The user calls EnableExtension to manually register an Agora extension.