| com.salesforce.marketingcloud.MarketingCloudSdk |
| Nested Classes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| interface | MarketingCloudSdk.InitializationListener | Returns an instance of InitializationStatus when the initialization of MarketingCloudSdk
has completed. |
|||||||||
| interface | MarketingCloudSdk.WhenReadyListener | Returns a valid instance of MarketingCloudSdk when it is ready. |
|||||||||
Returns an instance of the MarketingCloudSdk. An IllegalStateException will be thrown
if this method is called before init.
Note: This method will block the calling thread if
init has not finished.
Returns the MarketingCloudConfig instance used to initialize the MarketingCloudSdk.
Initializes the SDK with the provided config. Once complete, the listener will be notified.
Any subsequent calls to this method will be ignored as long as the values provided in config are the same.
Note: Anyone that requested the sdk before or
during the initialization will be notified before the listener will be
notified.
Indicates whether the sdk is currently executing its initialization routine.
Indicates whether or not there is a valid instance of MarketingCloudSdk that is
ready(initialized) to be used. If the value is true then calls to getInstance() will not block the thread.
An asynchronous request for an instance of MarketingCloudSdk.
| listener | Callback to be called after
init has completed
successfully.
|
|---|
An asynchronous request for a instance of MarketingCloudSdk.
| looper | Used for the callback. |
|---|---|
| listener | Callback to be called after
init has completed
successfully.
|
Prevents a MarketingCloudSdk.WhenReadyListener from returning an instance of MarketingCloudSdk
| listener | Callback to be removed |
|---|