static fun requestSdk(@NonNull listener: WhenReadyListener): Unit
An asynchronous request for an instance of MarketingCloudSdk
.
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
.
looper
- Looper?: Used for the callback.
listener
- WhenReadyListener: Callback to be called after init
has completed successfully.