Classes | |
class | AreaCode |
Public Attributes | |
Context | mContext |
String | mAppId |
int | mAreaCode |
IRtcEngineEventHandler | mEventHandler |
Configurations for the RtcEngine instance.
Context io.agora.rtc.RtcEngineConfig.mContext |
The context of Android Activity.
String io.agora.rtc.RtcEngineConfig.mAppId |
The App ID issued to you by Agora. See 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 RtcEngine instance. To change your App ID, call destroy to destroy the current RtcEngine instance and then call create
to create an RtcEngine instance with the new App ID.
int io.agora.rtc.RtcEngineConfig.mAreaCode |
The region for connection. This advanced feature applies to scenarios that have regional restrictions.
For the regions that Agora supports, see AreaCode.
After specifying the region, the SDK connects to the Agora servers within that region.
IRtcEngineEventHandler io.agora.rtc.RtcEngineConfig.mEventHandler |
IRtcEngineEventHandler is an abstract class providing default implementation. The SDK uses this class for reporting on SDK runtime events.