TwurpleAuthenticationGetting dataExamplesFAQMigration

Main classes

HelixAdSchedule

Represents a broadcaster's ad schedule.

Overview

Properties

duration

Type: number

The length in seconds of the scheduled upcoming ad break.

lastAdDate

Type: Date | null

The date and time of the broadcaster's last ad-break. Returns null if channel is not live or has not run an ad.

nextAdDate

Type: Date | null

The date and time of the broadcaster's next scheduled ad. Returns null if channel is not live or has no ad scheduled.

prerollFreeTime

Type: number

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

snoozeCount

Type: number

The number of snoozes available for the broadcaster.

snoozeRefreshDate

Type: Date | null

The date and time when the broadcaster will gain an additional snooze. Returns null if all snoozes are already available.