InboxFeatureConfigBuilder
@objc(SFInboxFeatureConfigBuilder)
public class InboxFeatureConfigBuilder : NSObject
InboxFeatureConfigBuilder class
-
Activates/Deactivates the automatic marking of inbox messages as read when clicking the inbox notification, provided that this configuration is enabled. The default setting for this API is true.
Declaration
Swift
@discardableResult @objc public func setMarkMessageReadOnInboxNotificationOpen(_ enabled: Bool) -> InboxFeatureConfigBuilder -
Enables or disables SDK-managed badging of the unread inbox message count. When enabled the SDK sets the app-icon badge to the unread count; when disabled the app owns the badge and the SDK leaves it untouched. The default setting for this API is
true.Declaration
Swift
@discardableResult @objc public func setUnreadMessageBadgeEnabled(_ enabled: Bool) -> InboxFeatureConfigBuilderParameters
enabledenables (
true) or disables (false) SDK-managed unread-message badging.
-
Creates an InboxFeatureConfig containing the current builder configuration settings. This can be passed to the ConfigBuilder method(s).
Declaration
Swift
@discardableResult @objc public func build() -> InboxFeatureConfig
InboxFeatureConfigBuilder Class Reference