NERoomKitOptions

data class NERoomKitOptions(appKey: String, reuseIM: Boolean, useAssetServerConfig: Boolean, serverConfig: NEServerConfig?, extras: Map<String, Any?>)

提供初始化配置

Constructors

NERoomKitOptions
Link copied to clipboard
fun NERoomKitOptions(appKey: String)
NERoomKitOptions
Link copied to clipboard
fun NERoomKitOptions(appKey: String, reuseIM: Boolean = false, useAssetServerConfig: Boolean = false, serverConfig: NEServerConfig? = null, extras: Map<String, Any?> = mapOf())

Properties

appKey
Link copied to clipboard
val appKey: String
appKey
extras
Link copied to clipboard
val extras: Map<String, Any?>
额外参数,预留字段
reuseIM
Link copied to clipboard
val reuseIM: Boolean = false
reuseIM 是否开启IM复用
serverConfig
Link copied to clipboard
val serverConfig: NEServerConfig? = null
服务器配置项,优先级高于 useAssetServerConfig
useAssetServerConfig
Link copied to clipboard
val useAssetServerConfig: Boolean = false
是否读取Assets中的私有化配置文件