Tag

public protocol Tag : PlaylistLine

Tag protocol represents a tag line in the playlist

  • tag

    The tag itself, for example: ‘#EXTM3U’

    Declaration

    Swift

    static var tag: String { get }
  • The tag text data - all of the text after the tag. For example: ‘#EXTINF:4.458667,’ tagDataText = ‘4.458667,’

    Declaration

    Swift

    var tagDataText: String { get }
  • The tag type, used to help subclass of base tags to identify the real type of the object.

    Declaration

    Swift

    var tagType: Tag.Type { get }