#import <EMOptions.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 [EMClient 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 [EMClient 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 [EMClient initializeSDKWithOptions:], cannot be altered in runtime
Provided by category EMOptions(PrivateDeploy).
IM server
chatServer is Only effective when isDNSEnabled is NO. Can only be set when initializing the SDK with [EMClient initializeSDKWithOptions:], cannot be altered in runtime
Provided by category EMOptions(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
Whether to allow using DNS, default is YES
Can only be set when initializing the SDK [EMClient initializeSDKWithOptions:], cannot be altered in runtime
Provided by category EMOptions(PrivateDeploy).
- (BOOL) isAutoAcceptFriendInvitation |
|
readwritenonatomicassign |
Whether to automatically approve friend request, default is NO
- (BOOL) isAutoAcceptGroupInvitation |
|
readwritenonatomicassign |
Whether to automatically accept group invitation, default is YES
Whether auto login, default is YES
Value is saved locally. When initializing the EMOptions, SDK looks for the local value first.
- (BOOL) isChatroomOwnerLeaveAllowed |
|
readwritenonatomicassign |
Whether 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
Log output level, default is EMLogLevelDebug
REST server
restServer Only effective when isDNSEnabled is NO. Can only be set when initializing the SDK with [EMClient initializeSDKWithOptions:], cannot be altered in runtime
Provided by category EMOptions(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: