TimeRange

enum TimeRange : Enum<ClientPersonalizationApi.TimeRange>

The time frame for which attribute affinities are computed.

Api Reference

Parameters

id

the Spotify id of the time frame

Entries

LONG_TERM
Link copied to clipboard
common
LONG_TERM("long_term")
Calculated from several years of data and including all new data as it becomes available
MEDIUM_TERM
Link copied to clipboard
common
MEDIUM_TERM("medium_term")
Approximately last 6 months
SHORT_TERM
Link copied to clipboard
common
SHORT_TERM("short_term")
Approximately last 4 weeks

Functions

compareTo
Link copied to clipboard
common
operator override fun compareTo(other: ClientPersonalizationApi.TimeRange): Int
equals
Link copied to clipboard
common
operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
common
override fun hashCode(): Int
toString
Link copied to clipboard
common
open override fun toString(): String

Properties

id
Link copied to clipboard
common
val id: String
the Spotify id of the time frame
name
Link copied to clipboard
common
val name: String
ordinal
Link copied to clipboard
common
val ordinal: Int

Sources

(source)
Link copied to clipboard