Package-level declarations

Types

Link copied to clipboard

Listener interface for PushFeature initialization completion.

Link copied to clipboard
class PushFeature : ModuleInterface

Main class for the Push Feature Module.

Link copied to clipboard

Represents the initialization status of the PushFeature module. Follows the same pattern as the main SDK's InitializationStatus.

Link copied to clipboard
abstract class WhenReadyHandler(looper: Looper?, val listener: WhenReadyListener)

Abstract handler class for managing asynchronous SDK requests.

Link copied to clipboard
fun interface WhenReadyListener

Returns a valid instance of PushFeature when it is ready. If initialization of the PushFeature has already completed then {@link #ready(PushFeature) ready} will be called immediately. If {@link #init(Context, PushFeatureConfig, SFMCSdkComponents, InitializationListener) init} has not been called, or is executing, {@link #ready(PushFeature) ready} will be called upon completion.
Note: If {@link #init(Context, PushFeatureConfig, SFMCSdkComponents, InitializationListener) init} completes with a status of {@link PushFeatureInitializationStatus.Status#FAILED FAILED} {@link #ready(PushFeature)} ready will not be called, and the current list of {@link WhenReadyListener} listeners will be cleared.