PreferenceCenterConfig
@objc(UAPreferenceCenterConfig)
public final class PreferenceCenterConfig : NSObject, Decodable, Sendable
extension PreferenceCenterConfig: Encodable
Preference center config.
-
The config’s identifier.
Declaration
Swift
@objc public let identifier: String
-
The config’s sections.
Declaration
Swift
public let sections: [Section]
-
The config’s display info.
Declaration
Swift
@objc public let display: CommonDisplay?
-
The config’s options.
Declaration
Swift
@objc public let options: Options?
-
Config options.
See moreDeclaration
Swift
@objc(UAPreferenceCenterConfigOptions) public final class Options : NSObject, Decodable, Sendable
extension PreferenceCenterConfig.Options: Encodable
-
Common display info
See moreDeclaration
Swift
@objc(UAPreferenceConfigCommonDisplay) public final class CommonDisplay : NSObject, Decodable, Sendable
extension PreferenceCenterConfig.CommonDisplay: Encodable
-
Typed conditions.
See moreDeclaration
Swift
public enum Condition : Decodable, Equatable, Sendable
extension PreferenceCenterConfig.Condition: Encodable
-
Common section.
See moreDeclaration
Swift
@objc(UAPreferenceCenterConfigCommonSection) public final class CommonSection: NSObject, Decodable, PreferenceCenterConfigSection
extension PreferenceCenterConfig.CommonSection: Encodable
-
Labeled section break info.
See moreDeclaration
Swift
@objc(UAPreferenceLabeledSectionBreak) public final class LabeledSectionBreak: NSObject, Decodable, PreferenceCenterConfigSection
extension PreferenceCenterConfig.LabeledSectionBreak: Encodable
-
Contact Management section.
See moreDeclaration
Swift
@objc(UAPreferenceCenterConfigContactManagementSection) public final class ContactManagementSection: NSObject, 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
@objc(UAPreferenceCenterConfigChannelSubscription) public final class ChannelSubscription : NSObject, Decodable, PreferenceCenterConfigItem, Sendable
extension PreferenceCenterConfig.ChannelSubscription: Encodable
-
Group contact subscription item info.
See moreDeclaration
Swift
@objc(UAPreferenceCenterConfigContactSubscriptionGroup) public final class ContactSubscriptionGroup: NSObject, Decodable, PreferenceCenterConfigItem
extension PreferenceCenterConfig.ContactSubscriptionGroup: Encodable
-
Contact subscription item info.
See moreDeclaration
Swift
@objc(UAPreferenceCenterConfigContactSubscription) public final class ContactSubscription: NSObject, Decodable, PreferenceCenterConfigItem
extension PreferenceCenterConfig.ContactSubscription: Encodable
-
Alert item info.
See moreDeclaration
Swift
@objc(UAPreferenceCenterConfigAlert) public final class Alert : NSObject, Decodable, PreferenceCenterConfigItem
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
class ContactManagementItem : Decodable, Equatable, PreferenceCenterConfigItem, @unchecked Sendable
extension PreferenceCenterConfig.ContactManagementItem: Encodable
-
Declaration
Swift
public func encode(to encoder: Encoder) throws