|
Agora RTC Objective-C API Reference
Refactor
|
Inherits <NSObject>.
Properties | |
| NSString *_Nullable | appId |
| AgoraChannelProfile | channelProfile |
| NSString *_Nullable | license |
| AgoraAudioScenario | audioScenario |
| AgoraAreaCodeType | areaCode |
| AgoraLogConfig *_Nullable | logConfig |
| AgoraThreadPriorityType | threadPriority |
| id< AgoraMediaFilterEventDelegate > _Nullable | eventDelegate |
| BOOL | domainLimit |
| BOOL | autoRegisterAgoraExtensions |
|
readwritenonatomiccopy |
The App ID issued by Agora for your project. Only users in apps with the same App ID can join the same channel and communicate with each other. An App ID can only be used to create one AgoraRtcEngineKit instance. To change your App ID, call destroy to destroy the current AgoraRtcEngineKit instance, and then create a new one.
|
readwritenonatomicassign |
The channel profile. See AgoraChannelProfile.
|
readwritenonatomiccopy |
The license used for verification when connectting channel. Charge according to the license
|
readwritenonatomicassign |
The audio scenarios. Under different audio scenarios, the device uses different volume types. See AgoraAudioScenario.
|
readwritenonatomicassign |
The region for connection. This is an advanced feature and applies to scenarios that have regional restrictions. For details on supported regions, see AgoraAreaCodeType. The area codes support bitwise operation.
|
readwritenonatomicstrong |
Sets the log file size. See AgoraLogConfig. By default, the SDK generates five SDK log files and five API call log files with the following rules:
agorasdk.log, agorasdk.1.log, agorasdk.2.log, agorasdk.3.log, and agorasdk.4.log.agoraapi.log, agoraapi.1.log, agoraapi.2.log, agoraapi.3.log, and agoraapi.4.log.agorasdk.log or agoraapi.log.agorasdk.log is full, the SDK processes the log files in the following order:1. Delete the agorasdk.4.log file (if any).agorasdk.3.log to agorasdk.4.log.agorasdk.2.log to agorasdk.3.log.agorasdk.1.log to agorasdk.2.log.agorasdk.log file.agoraapi.log file are the same as for agorasdk.log.
|
readwritenonatomicassign |
Thread priority for SDK common threads
|
readwritenonatomicweak |
The AgoraMediaFilterEventDelegate instance.
|
readwritenonatomicassign |
Whether to enable domain name restriction:
YES: Enables the domain name restriction. This value is suitable for scenarios where IoT devices use IoT cards for network access. The SDK will only connect to servers in the domain name or IP whitelist that has been reported to the operator.NO: (Default) Disables the domain name restriction. This value is suitable for most common scenarios.
|
readwritenonatomicassign |
Whether to automatically register the Agora extensions when initializing AgoraRtcEngineKit:
YES: (Default) Automatically register the Agora extensions when initializing AgoraRtcEngineKit.NO: Do not register the Agora extensions when initializing AgoraRtcEngineKit. You need to call enableExtensionWithVendor:extension:enabled:sourceType: to register the Agora extensions.