#import <EMOptions.h>
+ (instancetype) optionsWithAppkey: |
|
(NSString *) |
aAppkey |
|
Get SDK setting options instance
- Parameters
-
aAppkey | App‘s unique identifier |
- Returns
- SDK’s setting options instance
- (NSString*) apnsCertName |
|
readwritenonatomicstrong |
iOS only, push certificate name
Can only set when initialize SDK [EMClient initializeSDKWithOptions:], can't change it in runtime
Application's unique identifier
IM server port
It's effective only when enableDnsConfig is NO. Can only set when initialize SDK [EMClient initializeSDKWithOptions:], can't change it in runtime
Provided by category EMOptions(PrivateDeploy).
IM server
It's effective only when enableDnsConfig is NO. Can only set when initialize SDK [EMClient initializeSDKWithOptions:], can't change it in runtime
Provided by category EMOptions(PrivateDeploy).
- (BOOL) enableConsoleLog |
|
readwritenonatomicassign |
Whether print log to console, default is NO
- (BOOL) enableDeliveryAck |
|
readwritenonatomicassign |
Whether send delivery ack, default is NO, SDK will automatically send delivery ack when receive a single chat message if it's set to YES
Whether allow to use DNS, default is YES
Can only set when initialize SDK [EMClient initializeSDKWithOptions:], can't change it in runtime
Provided by category EMOptions(PrivateDeploy).
- (BOOL) isAutoAcceptFriendInvitation |
|
readwritenonatomicassign |
Whether automatically accept friend invitation, default is NO
- (BOOL) isAutoAcceptGroupInvitation |
|
readwritenonatomicassign |
Whether automatically accept group invitation, default is YES
Whether auto login, default is YES
Value will be saved to the local. When initialization EMOptions, the first to get the value of the local saved
- (BOOL) isChatroomOwnerLeaveAllowed |
|
readwritenonatomicassign |
Whether chatroom's owner can leave chatroom, default is YES
- (BOOL) isDeleteMessagesWhenExitChatRoom |
|
readwritenonatomicassign |
Whether delete all of the chatroom's message when leave chatroom, default is YES
- (BOOL) isDeleteMessagesWhenExitGroup |
|
readwritenonatomicassign |
Whether delete all of the group's message when leave group, default is YES
Whether using development environment, default is NO
Can only set when initialize sdk [EMClient initializeSDKWithOptions:], can't change it in runtime
Log output level, default is EMLogLevelDebug
REST server
It's effective only when enableDnsConfig is NO. Can only set when initialize SDK [EMClient initializeSDKWithOptions:], can't change it in runtime
Provided by category EMOptions(PrivateDeploy).
- (BOOL) sortMessageByServerTime |
|
readwritenonatomicassign |
Whether sort message by server time when load message from database, default is YES, sort by server time
Whether using https, default is YES
The documentation for this class was generated from the following file: