Package-level declarations

Types

Link copied to clipboard

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

Link copied to clipboard

The init status interface.

Link copied to clipboard
class 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.

Link copied to clipboard

CDP implementation of the SDK initialization interface.

Link copied to clipboard

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

Link copied to clipboard
fun interface SFMCSdkReadyListener

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.