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

getInstance

@Nullable static fun getInstance(): MarketingCloudSdk?

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.

See Also
#requestSdk(Looper, WhenReadyListener)#isReady#isInitializing