WhenReadyHandler

Package: com.salesforce.marketingcloud.pushfeature

Module: Push Feature Module v2.0.0

An abstract handler class that manages asynchronous SDK requests by delivering PushFeature instances to registered listeners using Android’s Handler mechanism on the appropriate thread.

Creates a new instance with the specified Looper and listener.

Parameters:

  • looper - The Looper for thread handling (nullable)
  • listener - The WhenReadyListener to receive callbacks

Indicates whether the operation has completed.

The listener that receives SDK callbacks.

Delivers the SDK instance to the registered listener.