Class NERoomKitOptions
-
- All Implemented Interfaces:
public final class NERoomKitOptions
提供初始化配置
-
-
Field Summary
Fields Modifier and Type Field Description private final String
appKey
private final Boolean
useAssetServerConfig
private final NEServerConfig
serverConfig
private final String
serverUrl
private final Map<String, Object>
extras
private final NEMixPushConfig
mixPushConfig
-
Constructor Summary
Constructors Constructor Description NERoomKitOptions(String appKey, Map<String, Object> extras)
NERoomKitOptions(String appKey)
NERoomKitOptions(String appKey, Boolean useAssetServerConfig, NEServerConfig serverConfig, String serverUrl, Map<String, Object> extras, NEMixPushConfig mixPushConfig)
-
Method Summary
Modifier and Type Method Description final String
getAppKey()
appKey final Boolean
getUseAssetServerConfig()
NERoom私有化,是否读取Assets中的私有化配置文件,私有化优先级:serverConfig>useAssetServerConfig>serverUrl final NEServerConfig
getServerConfig()
NERoom私有化,服务器配置项,优先级高于 useAssetServerConfig和serverUrl final String
getServerUrl()
NERoom私有化服务器地址,私有化优先级:serverConfig>useAssetServerConfig>serverUrl final Map<String, Object>
getExtras()
额外参数,预留字段 final NEMixPushConfig
getMixPushConfig()
推送配置 -
-
Constructor Detail
-
NERoomKitOptions
NERoomKitOptions(String appKey)
-
NERoomKitOptions
NERoomKitOptions(String appKey, Boolean useAssetServerConfig, NEServerConfig serverConfig, String serverUrl, Map<String, Object> extras, NEMixPushConfig mixPushConfig)
-
-
Method Detail
-
getUseAssetServerConfig
final Boolean getUseAssetServerConfig()
NERoom私有化,是否读取Assets中的私有化配置文件,私有化优先级:serverConfig>useAssetServerConfig>serverUrl
-
getServerConfig
final NEServerConfig getServerConfig()
NERoom私有化,服务器配置项,优先级高于 useAssetServerConfig和serverUrl
-
getServerUrl
final String getServerUrl()
NERoom私有化服务器地址,私有化优先级:serverConfig>useAssetServerConfig>serverUrl
-
getMixPushConfig
final NEMixPushConfig getMixPushConfig()
推送配置
-
-
-
-