UikitInitParams

class UikitInitParams(val appId: String, val context: <Error class: unknown class>, val isForeground: Boolean = false, val appVersion: String? = null)

Represents the parameters required to initialize the Sendbird Uikit.

Since

1.0.0-beta.1

Constructors

Link copied to clipboard
constructor(appId: String, context: <Error class: unknown class>, isForeground: Boolean = false, appVersion: String? = null)

Properties

Link copied to clipboard

The appId of the Sendbird application.

Link copied to clipboard
val appVersion: String? = null

The version of the application. The version string will be trimmed if the length is longer than 30.

Link copied to clipboard
val context: <Error class: unknown class>

The context of the application.

Link copied to clipboard
val isForeground: Boolean = false

The flag to determine whether the init is called from the background (Application.onCreate()) or from foreground (Activity.onCreate(), Fragment.onCreate()).

Functions

Link copied to clipboard
open override fun toString(): String