Enumerations

The following enumerations are available globally.

  • This enum represents all possible events that can be sent from Storyly

    See more

    Declaration

    Swift

    @objc
    public enum StorylyEvent : Int
  • This enum represents the type of a story content

    See more

    Declaration

    Swift

    @objc
    public enum StoryType : Int, Decodable
  • This enum represents available story group sizes that be can set for customization

    See more

    Declaration

    Swift

    @objc
    public enum StoryGroupSize : Int
  • This enum class represents available layout direction that be can set for customization

    See more

    Declaration

    Swift

    @objc
    public enum StorylyLayoutDirection : Int
  • This enum represents the type of the interactive components.

    See more

    Declaration

    Swift

    @objc
    public enum StoryComponentType : Int
  • This data class represents the preview mode of stories.

    See more

    Declaration

    Swift

    @objc
    public enum PlayMode : Int, RawRepresentable, Decodable
  • This enum class represents the type of the story group.

    See more

    Declaration

    Swift

    @objc
    public enum StoryGroupType : Int, Decodable
  • This enum represents the source of the storyly data

    See more

    Declaration

    Swift

    @objc
    public enum StorylyDataSource : Int