AgoraRtcEngineConfig Class Reference
Inherits from | NSObject |
---|---|
Declared in | AgoraObjects.h |
appId
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 AgoraRtcEngineKit instance. To change your App ID, call destroy to destroy the current AgoraRtcEngineKit instance and then call create to create an AgoraRtcEngineKit instance with the new App ID.
@property (copy, nonatomic) NSString *appId
Declared In
AgoraObjects.h
areaCode
The area of connection. This advanced feature applies to scenarios that have regional restrictions.
You can use the OR operator (|
) to specify multiple areas. For details, see AgoraIpAreaCode.
After specifying the area of connection:
@property (nonatomic, assign) int areaCode
Declared In
AgoraObjects.h