Companion

actual object Companion
expect object Companion
actual object Companion

Functions

Link copied to clipboard
actual fun getInstance(name: String?): Core
expect fun getInstance(name: String? = null): Core

Returns the default (first initialized) instance of the Core, or the instance associates with the given name

actual fun getInstance(name: String?): Core
Link copied to clipboard
actual fun initialize(platform: Platform, sdkOptions: SdkOptions?, name: String?): Core?
expect fun initialize(platform: Platform, sdkOptions: SdkOptions? = null, name: String? = null): Core?

The initialize function serves as a crucial entry point for initializing the Core module in SDK if you would like to initialize another app of Default app. It allows developers to set up the Core module with specific configurations based on the provided parameters.

actual fun initialize(platform: Platform, sdkOptions: SdkOptions?, name: String?): Core?