im::floo::floolib::BMXSDKConfig
SDK设置管理
Public Classes
Name | |
---|---|
class | HostConfig |
Public Functions
Name | |
---|---|
synchronized void | delete() |
BMXSDKConfig([BMXClientType] type, String vsn, String dataDir, String cacheDir, String pushCertName, boolean deliveryAck) 构造函数 |
|
BMXSDKConfig([BMXClientType] type, String vsn, String dataDir, String cacheDir, String pushCertName) | |
BMXSDKConfig([BMXClientType] type, String vsn, String dataDir, String cacheDir, String pushCertName, String appId, String appSecret, boolean deliveryAck) | |
BMXSDKConfig([BMXClientType] type, String vsn, String dataDir, String cacheDir, String pushCertName, String appId, String appSecret) | |
String | getDataDir() |
String | getCacheDir() |
[BMXClientType] | getClientType() |
String | getVsn() |
String | getSDKVersion() |
String | getPushCertName() |
void | setPushCertName(String arg0) |
String | getUserAgent() |
boolean | carryUsernameInMessage() |
void | setCarryUsernameInMessage(boolean arg0) |
boolean | enableDeliveryAck() |
void | setEnableDeliveryAck(boolean arg0) |
BMXLogLevel | getLogLevel() |
void | setLogLevel(BMXLogLevel arg0) |
boolean | getConsoleOutput() |
void | setConsoleOutput(boolean arg0) |
void | setHostConfig(BMXSDKConfig.HostConfig config) |
BMXSDKConfig.HostConfig | getHostConfig() |
boolean | getLoadAllServerConversations() |
void | setLoadAllServerConversations(boolean enable) |
void | setLoadAllServerConversations() |
String | getDeviceUuid() |
void | setDeviceUuid(String uuid) |
String | getDBCryptoKey() |
void | setDBCryptoKey(String cryptoKey) |
boolean | getVerifyCertificate() |
void | setVerifyCertificate(boolean verify) |
void | setVerifyCertificate() |
boolean | getEnableDNS() |
void | setEnableDNS(boolean enable) |
void | setEnableDNS() |
String | getUserDNSAddress() |
void | setUserDNSAddress(String dns) |
String | getAppID() |
void | setAppID(String appID) |
String | getAppSecret() |
void | setAppSecret(String appSecret) |
[BMXPushProviderType] | getPushProviderType() |
void | setPushProviderType([BMXPushProviderType] type) |
[BMXPushEnvironmentType] | getPushEnvironmentType() |
void | setEnvironmentType([BMXPushEnvironmentType] type) |
long | getDebugLogReceiverId() |
void | setDebugLogReceiverId(long uid) |
Protected Functions
Name | |
---|---|
BMXSDKConfig(long cPtr, boolean cMemoryOwn) | |
void | finalize() |
long | getCPtr(BMXSDKConfig obj) |
Public Functions Documentation
function delete
inline synchronized void delete()
function BMXSDKConfig
inline BMXSDKConfig(
BMXClientType type,
String vsn,
String dataDir,
String cacheDir,
String pushCertName,
boolean deliveryAck
)
构造函数
Parameters:
- type 客户端类型
- vsn 客户端OS版本
- dataDir 聊天数据存储路径
- cacheDir 缓存数据存储路径
- pushCertName Push证书名字
- deliveryAck 是否发送消息送达回执
function BMXSDKConfig
inline BMXSDKConfig(
BMXClientType type,
String vsn,
String dataDir,
String cacheDir,
String pushCertName
)
function BMXSDKConfig
inline BMXSDKConfig(
BMXClientType type,
String vsn,
String dataDir,
String cacheDir,
String pushCertName,
String appId,
String appSecret,
boolean deliveryAck
)
function BMXSDKConfig
inline BMXSDKConfig(
BMXClientType type,
String vsn,
String dataDir,
String cacheDir,
String pushCertName,
String appId,
String appSecret
)
function getDataDir
inline String getDataDir()
function getCacheDir
inline String getCacheDir()
function getClientType
inline BMXClientType getClientType()
function getVsn
inline String getVsn()
function getSDKVersion
inline String getSDKVersion()
function getPushCertName
inline String getPushCertName()
function setPushCertName
inline void setPushCertName(
String arg0
)
function getUserAgent
inline String getUserAgent()
function carryUsernameInMessage
inline boolean carryUsernameInMessage()
function setCarryUsernameInMessage
inline void setCarryUsernameInMessage(
boolean arg0
)
function enableDeliveryAck
inline boolean enableDeliveryAck()
function setEnableDeliveryAck
inline void setEnableDeliveryAck(
boolean arg0
)
function getLogLevel
inline BMXLogLevel getLogLevel()
function setLogLevel
inline void setLogLevel(
BMXLogLevel arg0
)
function getConsoleOutput
inline boolean getConsoleOutput()
function setConsoleOutput
inline void setConsoleOutput(
boolean arg0
)
function setHostConfig
inline void setHostConfig(
BMXSDKConfig.HostConfig config
)
function getHostConfig
inline BMXSDKConfig.HostConfig getHostConfig()
function getLoadAllServerConversations
inline boolean getLoadAllServerConversations()
function setLoadAllServerConversations
inline void setLoadAllServerConversations(
boolean enable
)
function setLoadAllServerConversations
inline void setLoadAllServerConversations()
function getDeviceUuid
inline String getDeviceUuid()
function setDeviceUuid
inline void setDeviceUuid(
String uuid
)
function getDBCryptoKey
inline String getDBCryptoKey()
function setDBCryptoKey
inline void setDBCryptoKey(
String cryptoKey
)
function getVerifyCertificate
inline boolean getVerifyCertificate()
function setVerifyCertificate
inline void setVerifyCertificate(
boolean verify
)
function setVerifyCertificate
inline void setVerifyCertificate()
function getEnableDNS
inline boolean getEnableDNS()
function setEnableDNS
inline void setEnableDNS(
boolean enable
)
function setEnableDNS
inline void setEnableDNS()
function getUserDNSAddress
inline String getUserDNSAddress()
function setUserDNSAddress
inline void setUserDNSAddress(
String dns
)
function getAppID
inline String getAppID()
function setAppID
inline void setAppID(
String appID
)
function getAppSecret
inline String getAppSecret()
function setAppSecret
inline void setAppSecret(
String appSecret
)
function getPushProviderType
inline BMXPushProviderType getPushProviderType()
function setPushProviderType
inline void setPushProviderType(
BMXPushProviderType type
)
function getPushEnvironmentType
inline BMXPushEnvironmentType getPushEnvironmentType()
function setEnvironmentType
inline void setEnvironmentType(
BMXPushEnvironmentType type
)
function getDebugLogReceiverId
inline long getDebugLogReceiverId()
function setDebugLogReceiverId
inline void setDebugLogReceiverId(
long uid
)
Protected Functions Documentation
function BMXSDKConfig
inline BMXSDKConfig(
long cPtr,
boolean cMemoryOwn
)
function finalize
inline void finalize()
function getCPtr
static inline long getCPtr(
BMXSDKConfig obj
)
Updated on 2022-01-26 at 17:18:31 +0800