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

Represents the current initialization state of the SFMC SDK.

Link copied to clipboard

The init status interface.

Link copied to clipboard
class SFMCSdk

Configuration entry point to Mobile App Messaging, Marketing Cloud Engagement, Personalization, and Data Cloud (CDP). Configure the SDK and then get access to tracking (track) and Identity.

Link copied to clipboard

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.