InboxFeatureConfig

class InboxFeatureConfig : InboxFeatureModuleConfig

Configuration class for the Inbox Feature of the Salesforce Marketing Cloud SDK.

Example Usage:

// Using Builder pattern (Java-friendly)
val config = InboxFeatureConfig.builder()
.setInboxEnabled(true)
.build()

// Using Kotlin DSL
val config = InboxFeatureConfig {
inboxEnabled = true
}

See also

InboxFeatureModuleConfig

Types

Link copied to clipboard
class Builder

Builder class for constructing InboxFeatureConfig instances.

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
@JvmField
val inboxEnabled: Boolean

Whether the Inbox feature is enabled by default. Consulted only when no runtime toggle has been set (enableInbox() / disableInbox()) and Inbox is not GDPR-blocked. Defaults to true: providing an InboxFeatureConfig already signals intent to use Inbox.

Link copied to clipboard

Whether opening the notification for an inbox message automatically marks that message read. Defaults to true, matching the legacy MarketingCloudConfig.markMessageReadOnInboxNotificationOpen behavior this replaces.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard

Creates a new Builder with the current configuration values.

Link copied to clipboard
open override fun toString(): String