SectionSettings
public struct SectionSettings : Equatable, Hashable, Codable
extension SectionSettings: Sendable
User preferences for a content section, controlling whether it is followed or blocked.
-
Unique identifier for the section.
Declaration
Swift
public var sectionId: String -
Whether the user has opted to follow this section.
Declaration
Swift
public var isFollowed: Bool -
Whether the user has opted to block this section.
Declaration
Swift
public var isBlocked: Bool -
Declaration
Swift
public init( /** * Unique identifier for the section. */sectionId: String, /** * Whether the user has opted to follow this section. */isFollowed: Bool, /** * Whether the user has opted to block this section. */isBlocked: Bool)