InitializationListener

com.salesforce.marketingcloud.pushfeature

  • Module: Push Feature Module
  • Version: 2.0.0
  • SDK Version: 11.0.0
  • Platform: Android JVM

A functional interface that listens for the completion of PushFeature initialization. This interface provides a callback mechanism to be notified when the PushFeature module has finished its initialization process.

Functional Interface (Kotlin)

As a functional interface, InitializationListener can be implemented using lambda expressions, making it convenient for single-method callbacks.

Called when PushFeature initialization is complete.

Parameters:

  • status - PushFeatureInitializationStatus - The initialization status result indicating whether initialization succeeded or failed

Returns:

  • void (Unit in Kotlin)

Since this is a functional interface, it can be implemented using a lambda:

Or as a traditional interface implementation:

  • PushFeatureInitializationStatus - Represents the result of the initialization process

View on GitHub Pages