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

SHORT_TERM
Link copied to clipboard
common
SHORT_TERM("short_term")
Approximately last 4 weeks
MEDIUM_TERM
Link copied to clipboard
common
MEDIUM_TERM("medium_term")
Approximately last 6 months
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

Functions

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

common source
Link copied to clipboard