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

requestSdk

static fun requestSdk(@NonNull listener: WhenReadyListener): Unit

An asynchronous request for an instance of MarketingCloudSdk.

Parameters

listener - WhenReadyListener: Callback to be called after init has completed successfully.

static fun requestSdk(@Nullable looper: Looper?, @NonNull listener: WhenReadyListener): Unit

An asynchronous request for a instance of MarketingCloudSdk.

Parameters

looper - Looper?: Used for the callback.

listener - WhenReadyListener: Callback to be called after init has completed successfully.