InitializationState

Package: com.salesforce.marketingcloud.sfmcsdk
Version: 11.0.0
Platform: androidJvm

The InitializationState enum represents the current initialization state of the Salesforce Marketing Cloud (SFMC) SDK. This enum allows developers to track and respond to different phases of the SDK’s initialization lifecycle.

SDK has not started initialization.

SDK is currently in the process of initializing.

SDK has completed initialization successfully and is ready for use.

SDK initialization failed due to an error.

Returns an immutable list representation of all enum entries in declaration order.

Returns the enum constant matching the specified name. The string must exactly match an enum constant identifier (no whitespace allowed).

Parameters:

  • value - String name of the enum constant

Returns:

  • InitializationState - The enum constant with the specified name

Returns an array of all enum constants in declaration order.

Returns:

  • Array<InitializationState> - Array containing all enum constants