Agora RTC Objective-C API Reference
Refactor
|
Inherits <NSObject>.
Instance Methods | |
(instancetype _Nonnull) | - initWithAppId:userId: |
Properties | |
AgoraRtmAreaCode | areaCode |
AgoraRtmProtocolType | protocolType |
unsigned int | presenceTimeout |
unsigned int | heartbeatInterval |
NSString * | appId |
NSString * | userId |
BOOL | useStringUserId |
BOOL | multipath |
AgoraRtmLogConfig * | logConfig |
AgoraRtmProxyConfig * | proxyConfig |
AgoraRtmEncryptionConfig * | encryptionConfig |
AgoraRtmPrivateConfig * | privateConfig |
Configurations for RTM Client.
- (instancetype _Nullable) NS_UNAVAILABLE |
- (instancetype _Nonnull) initWithAppId: | (NSString *_Nonnull) | appId | |
userId: | (NSString *_Nonnull) | userId | |
init with appid adn userid
|
readwritenonatomicassign |
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.
|
readwritenonatomicassign |
The protocol used for connecting to the Agora RTM service.
|
readwritenonatomicassign |
Presence timeout in seconds, specify the timeout value when you lost connection between sdk and rtm service.
|
readwritenonatomicassign |
Heartbeat interval in seconds, specify the interval value of sending heartbeat between sdk and rtm service.
|
readwritenonatomiccopy |
The App ID of your project.
|
readwritenonatomiccopy |
The ID of the user.
|
readwritenonatomicassign |
Whether to use String user IDs, if you are using RTC products with Int user IDs, set this value as 'false'. Otherwise errors might occur.
|
readwritenonatomicassign |
Whether to enable multipath, introduced from 2.2.0, for now , only effect on stream channel.
|
readwritenonatomiccopy |
The config for customer set log path, log size and log level.
|
readwritenonatomiccopy |
The config for proxy setting
|
readwritenonatomiccopy |
The config for encryption setting
|
readwritenonatomiccopy |
The config for private setting