cdp / com.salesforce.marketingcloud.cdp

Package com.salesforce.marketingcloud.cdp

Types

CdpConfig

Create config using the provided Builder Provide to CdpSdk.configure

data class CdpConfig : CoreModuleConfig

CdpReadyListener

interface CdpReadyListener

CdpSdk

Main CDP SDK class

class CdpSdk : CoreModule, CdpAuthenticatorListener

CdpSdkInitializationStatus

CDP implementation of the SDK initialization interface.

class CdpSdkInitializationStatus : InitializationStatus

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

Functions

<no name provided>

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

fun <no name provided>(): Unit