#import <AgoraOptions.h>
- (BOOL isSandboxMode) EM_DEPRECATED_IOS |
|
(3_0_0) |
|
|
|
(3_2_2) |
|
|
|
| |
Whether using development environment, default is NO
Can only be set when initializing the sdk with [AgoraChatClient initializeSDKWithOptions:], can't be altered in runtime.
- (BOOL usingHttps) EM_DEPRECATED_IOS |
|
(3_0_0) |
|
|
|
(3_2_1) |
|
|
|
| |
Whether using https, default is YES
+ (instancetype) optionsWithAppkey: |
|
(NSString *) |
aAppkey |
|
Get a SDK setting options instance
- Parameters
-
aAppkey | App‘s unique identifier |
- Returns
- SDK’s setting options instance
- (NSString*) apnsCertName |
|
readwritenonatomiccopy |
Certificate name of Apple Push Notification Service
Can only be set when initializing the SDK with [AgoraChatClient initializeSDKWithOptions:], can't be altered in runtime.
Application's unique identifier
IM server port
chatPort is Only effective when isDNSEnabled is NO. Can only be set when initializing the SDK with [AgoraChatClient initializeSDKWithOptions:], cannot be altered in runtime
Provided by category AgoraOptions(PrivateDeploy).
IM server
chatServer is Only effective when isDNSEnabled is NO. Can only be set when initializing the SDK with [AgoraChatClient initializeSDKWithOptions:], cannot be altered in runtime
Provided by category AgoraOptions(PrivateDeploy).
DNS url
dnsURL Only effective when isDNSEnabled is YES. Can only be set when initializing the SDK with [AgoraChatClient initializeSDKWithOptions:], cannot be altered in runtime
Provided by category AgoraOptions(PrivateDeploy).
- (BOOL) enableConsoleLog |
|
readwritenonatomicassign |
Whether print log to console, default is NO
- (BOOL) enableDeliveryAck |
|
readwritenonatomicassign |
Whether to send delivery acknowledgement, default is NO. If set to YES, SDK will automatically send a delivery acknowledgement when receiving a chat message
- (BOOL) enableRequireReadAck |
|
readwritenonatomicassign |
whether receive message read by receiving user event
- (NSDictionary*) extension |
|
readwritenonatomicstrong |
- (BOOL) isAutoAcceptFriendInvitation |
|
readwritenonatomicassign |
Whether to automatically approve friend request, default is NO
- (BOOL) isAutoAcceptGroupInvitation |
|
readwritenonatomicassign |
Whether to automatically accept group invitation, default is YES
- (BOOL) isAutoDownloadThumbnail |
|
readwritenonatomicassign |
Whether to automatically download thumbnail of image&video and audio, default is YES
Whether auto login, default is YES
The Settings are only valid before the SDK is initialized.
- (BOOL) isAutoTransferMessageAttachments |
|
readwritenonatomicassign |
Whether to automatically upload or download the attachment in the message, default is YES.
- (BOOL) isChatroomOwnerLeaveAllowed |
|
readwritenonatomicassign |
if allow chat room's owner can leave the chat room, default is YES.
- (BOOL) isDeleteMessagesWhenExitChatRoom |
|
readwritenonatomicassign |
Whether to delete all the chat room messages when leaving the chat room, default is YES
- (BOOL) isDeleteMessagesWhenExitGroup |
|
readwritenonatomicassign |
Whether to delete all the group messages when leaving the group, default is YES
- (AgoraLogLevel) logLevel |
|
readwritenonatomicassign |
Log output level, default is AgoraLogLevelDebug
- (NSString*) pushKitCertName |
|
readwritenonatomiccopy |
Certificate name of Apple PushKit Service
Can only be set when initializing the SDK with [AgoraChatClient initializeSDKWithOptions:], can't be altered in runtime.
REST server
restServer Only effective when isDNSEnabled is NO. Can only be set when initializing the SDK with [AgoraChatClient initializeSDKWithOptions:], cannot be altered in runtime
Provided by category AgoraOptions(PrivateDeploy).
- (BOOL) sortMessageByServerTime |
|
readwritenonatomicassign |
Whether to sort messages by server received time when loading message from database, default is YES.
Whether using https only, default is NO
The documentation for this class was generated from the following file: