Constructor
# new ScheduledPlaylistItem(itemData, playlist)
Parameters:
Name | Type | Description |
---|---|---|
itemData |
object
|
object containing item data |
mapName |
string
|
the name of the map |
mapDuration |
number
|
the duration of the map in milliseconds |
startTime |
Date
|
the time this map rotation starts |
playlist |
Playlist
|
the parent playlist of this item |
Extends
Members
boolean
# LTM Optional
Whether this item is from a playlist which is an LTM. The property only exists when its value is true.
- Overrides:
string
# replaces Optional
boolean
# takeover Optional
number
# readonly timeRemaining
The time until (or since the end of) this map rotation. Returns a negative value if the end of this rotation has already passed when called.