BMXSDKConfig Class Reference
Inherits from NSObject
Declared in floo_proxy.h
Overview
@interface SDK config
Properties
swigCMemOwn
@property (nonatomic) BOOL swigCMemOwn
swigCPtr
@property (nonatomic) void *swigCPtr
Instance Methods
carryUsernameInMessage
Whether to carry the username in the message
- (BOOL)carryUsernameInMessage
Return Value
BOOL
Declared In
floo_proxy.h
dealloc
- (void)dealloc
enableDeliveryAck
Whether to enable the delivery ACK
- (BOOL)enableDeliveryAck
Return Value
BOOL
Declared In
floo_proxy.h
getAppID
Get the app ID
- (NSString *)getAppID
Return Value
NSString
Declared In
floo_proxy.h
getAppSecret
Get app secret
- (NSString *)getAppSecret
Return Value
NSString
Declared In
floo_proxy.h
getCacheDir
Get cache files directory
- (NSString *)getCacheDir
Return Value
NSString
Declared In
floo_proxy.h
getClientType
Get client device type
- (BMXClientType)getClientType
Return Value
Declared In
floo_proxy.h
getConsoleOutput
Get the switch of whether to output the log to console
- (BOOL)getConsoleOutput
Return Value
BOOL
Declared In
floo_proxy.h
getDBCryptoKey
Get crypto key of local db
- (NSString *)getDBCryptoKey
Return Value
NSString
Declared In
floo_proxy.h
getDataDir
Get data files directory
- (NSString *)getDataDir
Return Value
NSString
Declared In
floo_proxy.h
getDebugLogReceiverId
Get debug log files receiver ID
- (long long)getDebugLogReceiverId
Return Value
long long
Declared In
floo_proxy.h
getDeviceUuid
Get device UUID
- (NSString *)getDeviceUuid
Return Value
NSString
Declared In
floo_proxy.h
getEnableDNS
Get whether to enable DNS on ratel
- (BOOL)getEnableDNS
Return Value
BOOL
Declared In
floo_proxy.h
getHostConfig
Get server hosts information
- (BMXSDKConfigHostConfig *)getHostConfig
Return Value
Declared In
floo_proxy.h
getLoadAllServerConversations
Whether to generate conversation list from server
- (BOOL)getLoadAllServerConversations
Return Value
BOOL
Declared In
floo_proxy.h
getLogLevel
Get log level
- (BMXLogLevel)getLogLevel
Return Value
Declared In
floo_proxy.h
getPushCertName
Get the push certificate name
- (NSString *)getPushCertName
Return Value
NSString
Declared In
floo_proxy.h
getPushEnvironmentType
Get push environment type(Development|Product)
- (BMXPushEnvironmentType)getPushEnvironmentType
Return Value
Declared In
floo_proxy.h
getPushProviderType
Get push service provider type
- (BMXPushProviderType)getPushProviderType
Return Value
Declared In
floo_proxy.h
getSDKVersion
Get SDK version
- (NSString *)getSDKVersion
Return Value
NSString
Declared In
floo_proxy.h
getUserAgent
Get user agent
- (NSString *)getUserAgent
Return Value
NSString
Declared In
floo_proxy.h
getUserDNSAddress
Get custom DNS address
- (NSString *)getUserDNSAddress
Return Value
NSString
Declared In
floo_proxy.h
getVerifyCertificate
Get whether to verify HTTP certificate
- (BOOL)getVerifyCertificate
Return Value
BOOL
Declared In
floo_proxy.h
getVsn
Ge app client version
- (NSString *)getVsn
Return Value
NSString
Declared In
floo_proxy.h
initWithCptr:swigOwnCObject:
- (id)initWithCptr:(void *)*cptr* swigOwnCObject:(BOOL)*ownCObject*
initWithType:vsn:dataDir:cacheDir:sDKVersion:pushCertName:userAgent:
- (id)initWithType:(BMXClientType)*type* vsn:(NSString *)*vsn* dataDir:(NSString *)*dataDir* cacheDir:(NSString *)*cacheDir* sDKVersion:(NSString *)*SDKVersion* pushCertName:(NSString *)*pushCertName* userAgent:(NSString *)*userAgent*
initWithType:vsn:dataDir:cacheDir:sDKVersion:pushCertName:userAgent:appId:appSecret:
- (id)initWithType:(BMXClientType)*type* vsn:(NSString *)*vsn* dataDir:(NSString *)*dataDir* cacheDir:(NSString *)*cacheDir* sDKVersion:(NSString *)*SDKVersion* pushCertName:(NSString *)*pushCertName* userAgent:(NSString *)*userAgent* appId:(NSString *)*appId* appSecret:(NSString *)*appSecret*
initWithType:vsn:dataDir:cacheDir:sDKVersion:pushCertName:userAgent:appId:appSecret:deliveryAck:
Constructor
- (id)initWithType:(BMXClientType)*type* vsn:(NSString *)*vsn* dataDir:(NSString *)*dataDir* cacheDir:(NSString *)*cacheDir* sDKVersion:(NSString *)*SDKVersion* pushCertName:(NSString *)*pushCertName* userAgent:(NSString *)*userAgent* appId:(NSString *)*appId* appSecret:(NSString *)*appSecret* deliveryAck:(BOOL)*deliveryAck*
Parameters
type
Client type
vsn
App client version
dataDir
Data files directory
cacheDir
Cache files directory
SDKVersion
SDK version
pushCertName
Push certificate name
userAgent
User agent
appId
App ID
appSecret
App secret
deliveryAck
Delivery ACK
Declared In
floo_proxy.h
initWithType:vsn:dataDir:cacheDir:sDKVersion:pushCertName:userAgent:deliveryAck:
Constructor
- (id)initWithType:(BMXClientType)*type* vsn:(NSString *)*vsn* dataDir:(NSString *)*dataDir* cacheDir:(NSString *)*cacheDir* sDKVersion:(NSString *)*SDKVersion* pushCertName:(NSString *)*pushCertName* userAgent:(NSString *)*userAgent* deliveryAck:(BOOL)*deliveryAck*
Parameters
type
Client type
vsn
App client version
dataDir
Data files directory
cacheDir
Cache files directory
SDKVersion
SDK version
pushCertName
Push certificate name
userAgent
User agent
deliveryAck
Delivery ACK
Declared In
floo_proxy.h
setAppID:
Set app ID
- (void)setAppID:(NSString *)*appID*
Parameters
appID
Declared In
floo_proxy.h
setAppSecret:
Set app secret
- (void)setAppSecret:(NSString *)*appSecret*
Parameters
appSecret
Declared In
floo_proxy.h
setCarryUsernameInMessage:
Set whether to carry the username in the message
- (void)setCarryUsernameInMessage:(BOOL)*arg1*
Parameters
bool
Declared In
floo_proxy.h
setConsoleOutput:
Set the switch of whether to output the log to console
- (void)setConsoleOutput:(BOOL)*arg1*
Parameters
bool
Declared In
floo_proxy.h
setDBCryptoKey:
Set crypto key of local db
- (void)setDBCryptoKey:(NSString *)*cryptoKey*
Parameters
cryptoKey
Declared In
floo_proxy.h
setDebugLogReceiverId:
Set debug log files receiver ID
- (void)setDebugLogReceiverId:(long long)*uid*
Parameters
uid
Declared In
floo_proxy.h
setDeviceUuid:
Set device UUID
- (void)setDeviceUuid:(NSString *)*uuid*
Parameters
uuid
Declared In
floo_proxy.h
setEnableDNS
- (void)setEnableDNS
setEnableDNS:
Set whether to enable the delivery ACK
- (void)setEnableDNS:(BOOL)*enable*
Parameters
enable
Declared In
floo_proxy.h
setEnableDeliveryAck:
Enable delivery ACK
- (void)setEnableDeliveryAck:(BOOL)*arg1*
Parameters
bool
Declared In
floo_proxy.h
setEnvironmentType:
Set push environment type(Development|Product)
- (void)setEnvironmentType:(BMXPushEnvironmentType)*type*
Parameters
type
Declared In
floo_proxy.h
setHostConfig:
Set server hosts config
- (void)setHostConfig:(BMXSDKConfigHostConfig *)*config*
Parameters
config
Declared In
floo_proxy.h
setLoadAllServerConversations
- (void)setLoadAllServerConversations
setLoadAllServerConversations:
Set whether to generate conversation list from server
- (void)setLoadAllServerConversations:(BOOL)*enable*
Parameters
enable
Declared In
floo_proxy.h
setLogLevel:
Set log level
- (void)setLogLevel:(BMXLogLevel)*arg1*
Parameters
BMXLogLevel
Declared In
floo_proxy.h
setPushCertName:
Set the push certificate name
- (void)setPushCertName:(NSString *)*arg1*
Return Value
NSString
Declared In
floo_proxy.h
setPushProviderType:
Set push service provider type
- (void)setPushProviderType:(BMXPushProviderType)*type*
Parameters
type
Declared In
floo_proxy.h
setUserDNSAddress:
Set custom DNS address
- (void)setUserDNSAddress:(NSString *)*dns*
Parameters
dns
DNS server address
Declared In
floo_proxy.h
setVerifyCertificate
- (void)setVerifyCertificate
setVerifyCertificate:
Set whether to verify HTTP certificate
- (void)setVerifyCertificate:(BOOL)*verify*
Parameters
verify
true to verify
Discussion
Set whether to verify HTTP certificate
Declared In
floo_proxy.h
Example: