sfmcsdk / com.salesforce.marketingcloud.sfmcsdk / SFMCSdk / configure

configure

@MainThread @JvmStatic @JvmOverloads fun configure(context: Context, config: SFMCSdkModuleConfig, listener: InitializationListener? = null): Unit

Initializes the SDK with the provided SFMCSdkModuleConfig. Once complete, the InitializationListener will be notified. Any subsequent calls to this method will be ignored as long as the values provided in SFMCSdkModuleConfig are the same. Note: Anyone that calls requestSdk before or during the initialization will be notified before the InitializationListener will be notified.