SKTimeRange

public enum SKTimeRange : String

A type representing the possible time frames across which the current authenticated user’s top artists and tracks can be calculated.

  • A time range spanning the past several years, beginning with the Spotify user’s first use.

    Declaration

    Swift

    case beginningOfTime = "long_term"
  • A time range spanning the last six months.

    Declaration

    Swift

    case lastSixMonths = "medium_term"
  • A time range spanning the last four weeks.

    Declaration

    Swift

    case lastFourWeeks = "short_term"