Package com.github.twitch4j.helix.domain
Klasse AdSchedule
java.lang.Object
com.github.twitch4j.helix.domain.AdSchedule
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected booleanbooleanThe UTC timestamp of the broadcaster’s last ad-break, in RFC3339 format.The length in seconds of the scheduled upcoming ad break.The UTC timestamp of the broadcaster’s next scheduled ad, in RFC3339 format.The amount of pre-roll free time remaining for the channel in seconds.The number of snoozes available for the broadcaster.The UTC timestamp when the broadcaster will gain an additional snooze.inthashCode()toString()
-
Konstruktordetails
-
AdSchedule
public AdSchedule()
-
-
Methodendetails
-
getNextAdAt
The UTC timestamp of the broadcaster’s next scheduled ad, in RFC3339 format. Empty if the channel has no ad scheduled or is not live. -
getLastAdAt
The UTC timestamp of the broadcaster’s last ad-break, in RFC3339 format. Empty if the channel has not run an ad or is not live. -
getLengthSeconds
The length in seconds of the scheduled upcoming ad break. -
getPrerollFreeTimeSeconds
The amount of pre-roll free time remaining for the channel in seconds. Returns 0 if they are currently not pre-roll free. -
getSnoozeCount
The number of snoozes available for the broadcaster. -
getSnoozeRefreshAt
The UTC timestamp when the broadcaster will gain an additional snooze. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-