Init Params
Required parameters Via Constructor Pass input, Optional parameters Via Builder style apply block Set.
Usage Example:
// Simplest usage (Required parameters only)
```kotlin
// With optional configuration
val params = InitParams(context, "your-app-key")
logLevel = LogLevel.DEBUG
val params = InitParams(context, "your-app-key").apply {
logLevel = LogLevel.DEBUG
naviServer = "nav.custom-server.com"
enableHttps = true
areaCode = AreaCode.SINGAPORE
}
NCEngine.initialize(params)======================================== Optional Configuration item (user on demand Set)
Properties
Whether enable Sync empty pinned conversation capability, Default is false.
是否开启同步空置顶会话能力,默认为 false。
Default is null, Uses SDK built-in Statistics Server.
recommended for development Set to LogLevel.DEBUG, production Environment recommend LogLevel.WARN or LogLevel.ERROR.
Custom File Server URL (Private cloud scenario).
Custom Log Server URL (Private cloud scenario).
Functions
overseas deployment When Based on actual Data center location selection Corresponds to Area code.
Whether enable Sync empty pinned conversation capability, Default is false.
是否开启同步空置顶会话能力,默认为 false。
Default is null, Uses SDK built-in Statistics Server.
recommended for development Set to LogLevel.DEBUG, production Environment recommend LogLevel.WARN or LogLevel.ERROR.
Whether enable Push, Default is true.
Custom File Server URL (Private cloud scenario).
Custom Log Server URL (Private cloud scenario).
overseas deployment When Based on actual Data center location selection Corresponds to Area code.
Whether enable Sync empty pinned conversation capability, Default is false.
是否开启同步空置顶会话能力,默认为 false。
Default is null, Uses SDK built-in Statistics Server.
recommended for development Set to LogLevel.DEBUG, production Environment recommend LogLevel.WARN or LogLevel.ERROR.
Whether enable Push, Default is true.
Custom File Server URL (Private cloud scenario).
Custom Log Server URL (Private cloud scenario).