PlayMode

@objc(PlayMode)
public enum PlayMode : Int, RawRepresentable, Decodable

This data class represents the preview mode of stories.

  • This play mode continues to play all of the remaining story groups in the StorylyView

    Declaration

    Swift

    case Default
  • This play mode plays all of the remaining stories of the specified story group

    Declaration

    Swift

    case StoryGroup
  • This play mode plays only the specified story

    Declaration

    Swift

    case Story
  • Declaration

    Swift

    public typealias RawValue = String
  • Declaration

    Swift

    public var rawValue: String { get }
  • PlayMode initialization

    Declaration

    Swift

    public init(rawValue: RawValue)

    Parameters

    rawValue

    String representation of play mode