#import <EMOptions.h>
◆ optionsWithAppkey:
+ (instancetype _Nonnull) optionsWithAppkey: |
|
(NSString *_Nonnull) |
aAppkey |
|
Gets an SDK options instance.
- Parameters
-
- Returns
- The SDK options instance.
◆ apnsCertName
- (NSString*) apnsCertName |
|
readwritenonatomiccopy |
The certificate name of Apple Push Notification Service (APNs).
This attribute is specific to APNs.
This attribute can be set only when you call initializeSDKWithOptions
. The attribute setting cannot be changed during app runtime.
◆ appkey
The app key, which is the unique identifier of the project.
◆ autoDownloadThumbnail
- (BOOL) autoDownloadThumbnail |
|
readwritenonatomicassign |
Whether to automatically download thumbnails of images and videos and voice messages.
- (Default)
YES
: Yes.
NO
: No.
◆ canChatroomOwnerLeave
- (BOOL) canChatroomOwnerLeave |
|
readwritenonatomicassign |
Whether to allow the chat room owner to leave the room.
- (Default)
YES
: Yes.
NO
: No.
◆ chatPort
◆ chatServer
◆ deleteMessagesOnLeaveChatroom
- (BOOL) deleteMessagesOnLeaveChatroom |
|
readwritenonatomicassign |
Whether to delete all the chat room messages when leaving the chat room.
- (Default)
YES
: Yes.
NO
: No.
◆ dnsURL
◆ enableConsoleLog
- (BOOL) enableConsoleLog |
|
readwritenonatomicassign |
Whether to print logs on the Console.
YES
: Yes.
- (Default)
NO
: No.
◆ enableDeliveryAck
- (BOOL) enableDeliveryAck |
|
readwritenonatomicassign |
Whether to send the message delivery receipt.
YES
: Upon the reception of a one-to-one message, the SDK automatically sends a delivery receipt.
NO
: No.
◆ enableDnsConfig
◆ enableRequireReadAck
- (BOOL) enableRequireReadAck |
|
readwritenonatomicassign |
Whether to receive the message read receipt.
- (Default)
YES
: Yes.
NO
: No.
◆ isAutoLogin
Whether to enable automatic login. The default value is YES
.
- (Default)
YES
: Yes.
NO
: No.
You need to set this parameter before the SDK is initialized; otherwise, the setting does not take effect.
◆ isAutoTransferMessageAttachments
- (BOOL) isAutoTransferMessageAttachments |
|
readwritenonatomicassign |
Whether to automatically upload or download the attachment in the message.
- (Default)
YES
: Yes.
NO
: No.
◆ loadEmptyConversations
- (BOOL) loadEmptyConversations |
|
readwritenonatomicassign |
Whether to include empty conversations when the SDK loads conversations
YES
: Empty conversations are included.
(Default) NO
: Empty conversations are excluded.
This attribute can be set only when you call the initializeSDKWithOptions
method. The attribute setting cannot be changed during app runtime.
◆ logLevel
The log level.
EMLogLevelDebug
: All logs;
EMLogLevelWarning
: Warnings and errors.
EMLogLevelError
: Errors.
◆ restServer
◆ sortMessageByServerTime
- (BOOL) sortMessageByServerTime |
|
readwritenonatomicassign |
Whether to sort messages by the server's reception time when loading messages from the database.
- (Default)
YES
: Yes. Messages are sorted by the time when the server receives them.
NO
: No.
◆ usingHttpsOnly
Whether to only use the HTTPS protocol.
YES
: Yes.
- (Default)
NO
: No.
The documentation for this class was generated from the following file: