Method

public enum Method : String, Codable, CaseIterable

The sort method (SwiftlyKodi Type)

  • Order by date added

    Declaration

    Swift

    case dateAdded = "dateadded"
  • Order by last played

    Declaration

    Swift

    case lastPlayed = "lastplayed"
  • Order by play count

    Declaration

    Swift

    case playcount = "playcount"
  • Order by year

    Declaration

    Swift

    case year = "year"
  • Order by track

    Declaration

    Swift

    case track = "track"
  • Order by artist

    Declaration

    Swift

    case artist = "artist"
  • Order by title

    Declaration

    Swift

    case title = "title"
  • Order by sort title

    Declaration

    Swift

    case sortTitle = "sorttitle"
  • Order by tvshow title

    Declaration

    Swift

    case tvshowTitle = "tvshowtitle"
  • Order by label

    Declaration

    Swift

    case label = "label"
  • Order by duration (Called ‘time’ in Kodi)

    Declaration

    Swift

    case duration = "time"
  • Order by rating

    Declaration

    Swift

    case rating = "rating"
  • Order by user rating

    Declaration

    Swift

    case userRating = "userrating"
  • The label of the method (not complete)

    Declaration

    Swift

    public var displayLabel: String { get }