initFromForeground

open fun initFromForeground(@NonNull adapter: SendbirdUIKitAdapter, @NonNull context: Context)

Initializes Sendbird from foreground with given app ID.

Parameters

adapter

The SendbirdUIKitAdapter providing an app ID, a information of the user.

context

Context of Application. since 2.1.8