AdSchedule

data class AdSchedule(val nextAdAt: Instant? = null, val lastAdAt: Instant? = null, val duration: Int = 0, val prerollFreeTime: Int = 0, val snoozeCount: Int = 0, val snoozeRefreshAt: Instant? = null)

Twitch API: Get Ad Schedule

Constructors

Link copied to clipboard
constructor(nextAdAt: Instant? = null, lastAdAt: Instant? = null, duration: Int = 0, prerollFreeTime: Int = 0, snoozeCount: Int = 0, snoozeRefreshAt: Instant? = null)

Properties

Link copied to clipboard

the length in seconds of the scheduled upcoming ad break.

Link copied to clipboard

when the broadcaster's last ad break ran, or null if none.

Link copied to clipboard

when the broadcaster's next scheduled ad will run, or null if none.

Link copied to clipboard

the amount of pre-roll free time remaining for the channel in seconds.

Link copied to clipboard

the number of snoozes available for the broadcaster.

Link copied to clipboard

when the broadcaster will gain an additional snooze, or null if none.