STRVerticalFeedView

@objc(STRVerticalFeedView)
public class STRVerticalFeedView : UIView

Undocumented

  • This property triggers STRVerticalFeedView initialization

    Declaration

    Swift

    @objc
    public var storylyVerticalFeedInit: StorylyVerticalFeedInit { get set }
  • RootviewController of the ReelsView

    Declaration

    Swift

    @objc
    public weak var rootViewController: UIViewController?
  • Delegate of the ReelsView which will notify you when an event occurs in ReelsView.

    Declaration

    Swift

    @objc
    public weak var storylyVerticalFeedDelegate: StorylyVerticalFeedDelegate?
  • Delegate of the ReelsView which will notify you when an product related event occurs in ReelsView.

    Declaration

    Swift

    @objc
    public weak var storylyVerticalFeedProductDelegate: StorylyVerticalFeedProductDelegate?
  • This property will allow you to add ad view between stories

    Declaration

    Swift

    @objc
    public weak var storylyVerticalFeedAdViewProvider: StorylyAdViewProvider?
  • Undocumented

    Declaration

    Swift

    override public func layoutSubviews()
  • Undocumented

    Declaration

    Swift

    override public var accessibilityLabel: String? { get set }
  • Undocumented

    Declaration

    Swift

    override public var accessibilityIdentifier: String? { get set }
  • Undocumented

    Declaration

    Swift

    override public func willMove(toWindow newWindow: UIWindow?)
  • This function allows you to refetch the data from network By default you do not need to use this function.

    Declaration

    Swift

    @objc
    public func refresh()
  • This function allows you to open a specific story using story group id and story id.

    Declaration

    Swift

    public func openStory(storyGroupId: String, storyId: String? = nil, play: PlayMode = .Default) -> Bool

    Parameters

    storyGroupId

    Story group id of the story to be opened

    storyId

    Story id of the story to be opened

    Return Value

    Success of the operation

  • This function allows you to open using deeplink uri.

    Declaration

    Swift

    @objc
    public func openStory(payload: URL) -> Bool

    Parameters

    payload

    Intent data which includes reels as host

    Return Value

    Success of the operation

  • Undocumented

    Declaration

    Swift

    @objc
    public func resumeVerticalFeed(animated: Bool, completion: (() -> Void)? = nil)
  • Undocumented

    Declaration

    Swift

    @objc
    public func pauseVerticalFeed(animated: Bool, completion: (() -> Void)? = nil)
  • Undocumented

    Declaration

    Swift

    @objc
    public func closeVerticalFeed(animated: Bool, completion: (() -> Void)? = nil)
  • This function allows you to hydrate your products

    Declaration

    Swift

    @objc
    public func hydrateProducts(products: [STRProductItem])

    Parameters

    products

    list of products to hydrate products

  • This function allows you to update your cart

    Declaration

    Swift

    @objc
    public func updateCart(cart: STRCart)

    Parameters

    cart

    A STRCart objects to update cart

  • This function allows you to open your custom external view

    Declaration

    Swift

    @objc
    public func showExternalActionView(externalActionView: UIView)

    Parameters

    externalActionView

    External view to show

  • This function dismisses your already open external view

    Declaration

    Swift

    @objc
    public func dismissExternalActionView()