Companion

object Companion

Functions

Link copied to clipboard
@JvmStatic
fun getInstance(): PushFeature

Returns an instance of PushFeature.

Link copied to clipboard
@JvmStatic
fun init(context: Context, config: PushFeatureConfig, sdkComponents: SFMCSdkComponents, listener: InitializationListener? = null)

Initializes the PushFeature module with the provided configuration.

Link copied to clipboard
@JvmStatic
fun isInitializing(): Boolean

Checks if PushFeature is currently initializing.

Link copied to clipboard
@JvmStatic
fun isReady(): Boolean

Checks if PushFeature is ready for use.

Link copied to clipboard
Link copied to clipboard
@JvmStatic
fun requestSdk(listener: WhenReadyListener)
@JvmStatic
fun requestSdk(looper: Looper?, listener: WhenReadyListener)

An asynchronous request for an instance of PushFeature.

Link copied to clipboard

Prevents a WhenReadyListener from returning an instance of PushFeature.