WhenReadyListener

com.salesforce.marketingcloud.pushfeature

A functional interface that serves as a callback mechanism for when the PushFeature component becomes ready for use in the Salesforce Marketing Cloud Unified SDK.

fun interface (Functional Interface)

This interface defines a callback for when PushFeature is ready. As a functional interface, it can be implemented using lambda expressions in Kotlin.

Called when PushFeature is ready for use.

Parameters:

  • pushFeature: PushFeature - The PushFeature instance that is now ready

Returns: Unit

  • androidJvm
  • Module: Push Feature Module
  • Version: 2.0.0
  • SDK Version: 11.0.0 (Salesforce Marketing Cloud Unified SDK)

As a functional interface, WhenReadyListener can be implemented using lambda expressions: