#import <AgoraChatOptions.h>
◆ __deprecated_msg [1/6]
Whether to automatically approve friend request. The default value is NO.
◆ __deprecated_msg [2/6]
Whether to automatically accept group invitation. The default value is YES.
◆ __deprecated_msg [3/6]
Whether to automatically download thumbnail of image&video and audio. The default value is YES.
◆ __deprecated_msg [4/6]
if allow chat room's owner can leave the chat room. The default value is YES.
◆ __deprecated_msg [5/6]
Whether to delete all the chat room messages when leaving the chat room. The default value is YES.
◆ __deprecated_msg [6/6]
◆ optionsWithAppkey:
+ (instancetype _Nonnull) optionsWithAppkey: |
|
(NSString *_Nonnull) |
aAppkey |
|
Gets a SDK setting options instance.
- Parameters
-
- Returns
- The SDK setting options instance.
◆ apnsCertName
- (NSString*) apnsCertName |
|
readwritenonatomiccopy |
The certificate name of Apple Push Notification Service.
Ensure that you set this parameter when calling initializeSDKWithOptions
. During the app runtime, you can not change the settings.
◆ appkey
The app key, which is the unique identifier of the project.
◆ autoAcceptFriendInvitation
- (BOOL) autoAcceptFriendInvitation |
|
readwritenonatomicassign |
Whether to automatically approve contact request. The default value is NO
.
◆ autoAcceptGroupInvitation
- (BOOL) autoAcceptGroupInvitation |
|
readwritenonatomicassign |
Whether to automatically accept group invitation. The default value is YES
.
◆ autoDownloadThumbnail
- (BOOL) autoDownloadThumbnail |
|
readwritenonatomicassign |
Whether to automatically download image or video thumbnails and voice messages. The default value is YES
.
◆ canChatroomOwnerLeave
- (BOOL) canChatroomOwnerLeave |
|
readwritenonatomicassign |
Whether to allow the chatroom owner leave the room. The default value is YES.
◆ chatPort
◆ chatServer
◆ deleteMessagesOnLeaveChatroom
- (BOOL) deleteMessagesOnLeaveChatroom |
|
readwritenonatomicassign |
Whether to delete all the chat room messages when leaving the chat room. The default value is YES.
◆ deleteMessagesOnLeaveGroup
- (BOOL) deleteMessagesOnLeaveGroup |
|
readwritenonatomicassign |
Whether to delete all the group messages when leaving the group. The default value is YES.
◆ dnsURL
◆ enableConsoleLog
- (BOOL) enableConsoleLog |
|
readwritenonatomicassign |
Whether to print logs on Console. The default value is NO
.
◆ enableDeliveryAck
- (BOOL) enableDeliveryAck |
|
readwritenonatomicassign |
Whether to send the message delivery receipt. The default value is NO
. If you set it to YES
, the SDK automatically send a delivery receipt when you receive a chat message.
◆ enableDnsConfig
◆ enableFpa
Whether to enable fpa feature. The default value is NO
.
◆ enableRequireReadAck
- (BOOL) enableRequireReadAck |
|
readwritenonatomicassign |
Whether need to receive the message read receipt. The default value is YES
.
◆ isAutoLogin
Whether to enable automatic login. The default value is YES
.
You need to set this parameter before the SDK is initialized.
◆ isAutoTransferMessageAttachments
- (BOOL) isAutoTransferMessageAttachments |
|
readwritenonatomicassign |
Whether to automatically upload or download the attachment in the message. The default value is YES
.
◆ logLevel
- (AgoraChatLogLevel) logLevel |
|
readwritenonatomicassign |
The log output level. The default value is AgoraChatLogLevelDebug, which means all log levels.
◆ pushKitCertName
- (NSString*) pushKitCertName |
|
readwritenonatomiccopy |
The certificate name of Apple PushKit Service.
Ensure that you set this parameter when calling initializeSDKWithOptions
. During the app runtime, you can not change the settings.
◆ restServer
◆ sortMessageByServerTime
- (BOOL) sortMessageByServerTime |
|
readwritenonatomicassign |
Whether to sort messages by server received time when loading message from database. The default value is YES
.
◆ usingHttpsOnly
Whether to only use the HTTPS protocol. The default value is NO
.
The documentation for this class was generated from the following file: