Agora RTC Objective-C API Reference  Refactor
Properties
AgoraCloudSpatialAudioConfig Class Reference

Inherits <NSObject>.

Properties

NSString *_Nullable appId
 
NSUInteger deployRegion
 

Property Documentation

◆ rtcEngine

- (AgoraRtcEngineKit* _Nullable) rtcEngine
readwritenonatomicassign

◆ appId

- (NSString* _Nullable) appId
readwritenonatomiccopy

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]([AgoraRtcEngineKit destroy]) to destroy the current AgoraRtcEngineKit instance, and after destroy returns 0, call [sharedEngineWithConfig]([AgoraRtcEngineKit sharedEngineWithConfig:delegate:]) to create an AgoraRtcEngineKit instance with the new App ID.

◆ deployRegion

- (NSUInteger) deployRegion
readwritenonatomicassign

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

For the regions that Agora supports, see AgoraAreaCode. The area codes support bitwise operation. After specifying the region, the SDK connects to the Agora servers within that region.