Marketing Cloud SDK / com.salesforce.marketingcloud / MarketingCloudSdk / init

init

@MainThread static fun init(@NonNull context: Context, @NonNull config: MarketingCloudConfig, @Nullable listener: InitializationListener?): Unit
Deprecated: Initialize the SDK with SFMCSdk.configure()

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