PushFeatureInitializationStatus

Package 

com.salesforce.marketingcloud.pushfeature

Description 

Represents the initialization status of the PushFeature module, following the same pattern as the main SDK’s InitializationStatus. This class provides information about the outcome of the PushFeature module’s initialization process and helps diagnose any issues that may have occurred.

Type 

class

Properties 

initializedComponents 

  • Type: List<String>
  • Description: List of component names initialized in the module. Useful for debugging initialization issues.

isUsable 

  • Type: Boolean
  • Description: Indicates if the module initialized enough to be usable. Returns true when status is SUCCESS or COMPLETED_WITH_DEGRADED_FUNCTIONALITY.

pushManagerError 

  • Type: Boolean
  • Description: Indicates if an error occurred while initializing the push manager.

status 

  • Type: PushFeatureInitializationStatus.Status
  • Description: Initialization status of the PushFeature module.

unrecoverableException 

  • Type: Throwable?
  • Description: If an unrecoverable exception occurred during initialization, it can be accessed here. This property is nullable.

Nested Types 

Status 

Type: enum class Status : Enum<PushFeatureInitializationStatus.Status>

Represents the overall outcome of the PushFeature module’s initialization.

Enum Values 

SUCCESS

Indicates that the PushFeature module initialized successfully without any issues.

COMPLETED_WITH_DEGRADED_FUNCTIONALITY

Indicates that the PushFeature module completed initialization but with some reduced functionality. The module is still usable but may not have all features available.