Klasse ChannelAdBreakBeginEvent
java.lang.Object
com.github.twitch4j.eventsub.events.EventSubEvent
com.github.twitch4j.eventsub.events.EventSubChannelEvent
com.github.twitch4j.eventsub.events.ChannelAdBreakBeginEvent
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected booleanbooleanLength in seconds of the mid-roll ad break requested.The ID of the user that requested the ad.The login of the user that requested the ad.The display name of the user that requested the ad.The UTC timestamp of when the ad break began, in RFC3339 format.inthashCode()Indicates if the ad was automatically scheduled via Ads Manager.toString()Von Klasse geerbte Methoden com.github.twitch4j.eventsub.events.EventSubChannelEvent
getBroadcasterUserId, getBroadcasterUserLogin, getBroadcasterUserName
-
Konstruktordetails
-
ChannelAdBreakBeginEvent
public ChannelAdBreakBeginEvent()
-
-
Methodendetails
-
getLengthSeconds
Length in seconds of the mid-roll ad break requested. -
getStartedAt
The UTC timestamp of when the ad break began, in RFC3339 format.Note that there is potential delay between this event, when the streamer requested the ad break, and when the viewers will see ads.
-
isAutomatic
Indicates if the ad was automatically scheduled via Ads Manager. -
getRequesterUserId
The ID of the user that requested the ad. For automatic ads, this will be the ID of the broadcaster. -
getRequesterUserLogin
The login of the user that requested the ad. -
getRequesterUserName
The display name of the user that requested the ad. -
toString
- Setzt außer Kraft:
toStringin KlasseEventSubChannelEvent
-
equals
- Setzt außer Kraft:
equalsin KlasseEventSubChannelEvent
-
canEqual
- Setzt außer Kraft:
canEqualin KlasseEventSubChannelEvent
-
hashCode
public int hashCode()- Setzt außer Kraft:
hashCodein KlasseEventSubChannelEvent
-