VerticalFeedGroup

@objc(VerticalFeedGroup)
public final class VerticalFeedGroup : NSObject

This class represents a verticalFeed group in the StorylyView.

  • ID of the verticalFeed group

    Declaration

    Swift

    @objc
    public let uniqueId: String
  • Title of the verticalFeed group

    Declaration

    Swift

    @objc
    public let title: String
  • URL of the verticalFeed group icon image

    Declaration

    Swift

    @objc
    public let iconUrl: URL?
  • URL of the verticalFeed group icon video

    Declaration

    Swift

    @objc
    public let iconVideoUrl: URL?
  • URL of the verticalFeed group icon video thumbnail

    Declaration

    Swift

    @objc
    public let iconVideoThumbnailUrl: URL?
  • Order index of the verticalFeed group

    Declaration

    Swift

    @objc
    public let index: Int
  • State of the verticalFeed group that shows whether are seen or not

    Declaration

    Swift

    @objc
    public let seen: Bool
  • List of feeds in the verticalFeed group

    Declaration

    Swift

    @objc
    public let feedList: [VerticalFeedItem]
  • Pin status of the verticalFeed group that shows whether group is pinned or not

    Declaration

    Swift

    @objc
    public let pinned: Bool
  • Type of the verticalFeed group

    Declaration

    Swift

    @objc
    public let type: VerticalFeedGroupType
  • Style of this group

    Declaration

    Swift

    @objc
    public let style: VerticalFeedGroupStyle?
  • Name of this group

    Declaration

    Swift

    @objc
    public let name: String?
  • Denotes whether verticalFeed group is nudge or not

    Declaration

    Swift

    @objc
    public let nudge: Bool
  • VerticalFeedGroup initialization

    Declaration

    Swift

    @objc
    public init(
        id: String,
        title: String,
        iconUrl: URL?,
        iconVideoUrl: URL?,
        iconVideoThumbnailUrl: URL?,
        index: Int,
        seen: Bool,
        feedList: [VerticalFeedItem],
        pinned: Bool,
        type: VerticalFeedGroupType,
        style: VerticalFeedGroupStyle?,
        name: String?,
        nudge: Bool
    )

    Parameters

    id

    ID of the verticalFeed group

    title

    Title of the verticalFeed group

    iconUrl

    URL of the verticalFeed group icon image

    thematicIconUrls

    URLs of different the verticalFeed group icon themes

    index

    Order index of the verticalFeed group

    seen

    State of the verticalFeed group that shows whether all of the stories are seen or not

    feedList

    List of stories in the verticalFeed group

    pinned

    Pin status of the verticalFeed group that shows whether group is pinned or not

    type

    Type of the verticalFeed group

    style

    Style of this group

    name

    Name of this group

    nudge

    Denotes whether verticalFeed group is nudge or not