StorylyMomentsDelegate

@objc
public protocol StorylyMomentsDelegate

This delegate represents the class which notifies application when an event occurs in Storyly Moments.

  • This function will let you know that a user clicked header icon of a Storyly Moments story

    Declaration

    Swift

    @objc
    optional func storyHeaderClicked(
        _ storylyView: StorylyView,
        storyGroup: StoryGroup?,
        story: Story?
    )

    Parameters

    storylyView

    StorylyView instance in which storyly is loaded

    storyGroup

    Story group in which the user clicked the icon

    story

    Story in which the user user clicked the icon