InterestPicker

public struct InterestPicker : Equatable, Hashable, Codable
extension InterestPicker: Sendable

Configuration for the interest picker UI, which lets users select preferred content sections.

  • The display position of the interest picker within the feed.

    Declaration

    Swift

    public var receivedFeedRank: Int32
  • Title text for the interest picker.

    Declaration

    Swift

    public var title: String
  • Subtitle text for the interest picker.

    Declaration

    Swift

    public var subtitle: String
  • The sections available for the user to choose from.

    Declaration

    Swift

    public var sections: [InterestPickerSection]
  • Declaration

    Swift

    public init(
        /**
         * The display position of the interest picker within the feed.
         */receivedFeedRank: Int32, 
        /**
         * Title text for the interest picker.
         */title: String, 
        /**
         * Subtitle text for the interest picker.
         */subtitle: String, 
        /**
         * The sections available for the user to choose from.
         */sections: [InterestPickerSection])