sfmcsdk / com.salesforce.marketingcloud.sfmcsdk

Package com.salesforce.marketingcloud.sfmcsdk

Types

InitializationListener

This observer will be notified when the SDK's initialization has been completed.

typealias InitializationListener = (InitializationStatus) -> Unit

InitializationStatus

The init status interface.

interface InitializationStatus

SFMCSdk

The SFMCSdk is a shared-services SDK intended to empower other libraries by providing ready-made implementations for commonly used services: http communications, encryption, local storage, etc.

class SFMCSdk

SFMCSdkComponents

This class provides helper components for Modules.

class SFMCSdkComponents

SFMCSdkInitializationStatus

CDP implementation of the SDK initialization interface.

class SFMCSdkInitializationStatus : InitializationStatus

SFMCSdkModuleConfig

Class which helps in building all configs that SFMCSdk supports . SFMCSdk is only initialised with the config provided by this class via SFMCSdk.configure

class SFMCSdkModuleConfig

SFMCSdkReadyListener

interface SFMCSdkReadyListener

Functions

<no name provided>

Returns a valid instance of SFMCSdk when it is ready. If initialization of the SDK has already completed then the SFMCSdkReadyListener will be notified immediately. If SFMCSdk.configure has not been called, or is executing, SFMCSdkReadyListener will be called upon completion. Note: If SFMCSdk.configure completes with a status of InitializationStatus.FAILURE for InitializationStatus.status then then SFMCSdkReadyListener will not be called, and the current list of SFMCSdkReadyListener listeners will be cleared.

fun <no name provided>(): Unit