PreferenceCenterConfig
public struct PreferenceCenterConfig : Decodable, Sendable, Equatable
extension PreferenceCenterConfig: Encodable
Preference center config.
-
The config’s identifier.
Declaration
Swift
public var identifier: String
-
The config’s sections.
Declaration
Swift
public var sections: [Section]
-
The config’s display info.
Declaration
Swift
public var display: CommonDisplay?
-
The config’s options.
Declaration
Swift
public var options: Options?
-
Config options.
See moreDeclaration
Swift
public struct Options : Decodable, Sendable, Equatable
extension PreferenceCenterConfig.Options: Encodable
-
Common display info
See moreDeclaration
Swift
public struct CommonDisplay : Decodable, Sendable, Equatable
extension PreferenceCenterConfig.CommonDisplay: Encodable
-
Typed conditions.
See moreDeclaration
Swift
public enum Condition : Decodable, Equatable, Sendable
extension PreferenceCenterConfig.Condition: Encodable
-
Common section.
See moreDeclaration
Swift
public struct CommonSection : Decodable, PreferenceCenterConfigSection
extension PreferenceCenterConfig.CommonSection: Encodable
-
Labeled section break info.
See moreDeclaration
Swift
public struct LabeledSectionBreak : Decodable, PreferenceCenterConfigSection
extension PreferenceCenterConfig.LabeledSectionBreak: Encodable
-
Contact Management section.
See moreDeclaration
Swift
public struct ContactManagementSection : Decodable, PreferenceCenterConfigSection
-
Preference config section.
See moreDeclaration
Swift
public enum Section : Decodable, Equatable, Sendable
extension PreferenceCenterConfig.Section: Encodable
-
Channel subscription item info.
See moreDeclaration
Swift
public struct ChannelSubscription : Decodable, Equatable, PreferenceCenterConfigItem
extension PreferenceCenterConfig.ChannelSubscription: Encodable
-
Group contact subscription item info.
See moreDeclaration
Swift
public struct ContactSubscriptionGroup : Decodable, Equatable, PreferenceCenterConfigItem
extension PreferenceCenterConfig.ContactSubscriptionGroup: Encodable
-
Contact subscription item info.
See moreDeclaration
Swift
public struct ContactSubscription : Decodable, PreferenceCenterConfigItem, Equatable
extension PreferenceCenterConfig.ContactSubscription: Encodable
-
Alert item info.
See moreDeclaration
Swift
public struct Alert : Decodable, PreferenceCenterConfigItem, Equatable
extension PreferenceCenterConfig.Alert: Encodable
-
Contact management item Config item.
See moreDeclaration
Swift
public enum Item : Decodable, Equatable, Sendable
extension PreferenceCenterConfig.Item: Encodable
-
Contact management item - base container object for contact management in the preference center
See moreDeclaration
Swift
struct ContactManagementItem : Decodable, Equatable, PreferenceCenterConfigItem, Sendable
extension PreferenceCenterConfig.ContactManagementItem: Encodable
-
Declaration
Swift
public func encode(to encoder: any Encoder) throws