SFMCSdkReadyListener

Package: com.salesforce.marketingcloud.sfmcsdk

Platform: androidJvm

SDK Version: 11.0.0


A functional interface that provides a valid SFMCSdk instance when the SDK initialization is complete.

  • If SDK initialization has already completed, the listener is notified immediately
  • If SFMCSdk.configure has not been called or is currently executing, the listener is called upon completion
  • Important: If SFMCSdk.configure completes with InitializationStatus.FAILURE, the listener will not be invoked and all registered listeners are cleared

Called when the SDK is ready to use.

Parameters:

  • sdk - A valid instance of SFMCSdk