Klasse ChannelAdBreakBeginEvent


public class ChannelAdBreakBeginEvent extends EventSubChannelEvent
  • Konstruktordetails

    • ChannelAdBreakBeginEvent

      public ChannelAdBreakBeginEvent()
  • Methodendetails

    • getLengthSeconds

      public Integer getLengthSeconds()
      Length in seconds of the mid-roll ad break requested.
    • getStartedAt

      public Instant 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

      public Boolean isAutomatic()
      Indicates if the ad was automatically scheduled via Ads Manager.
    • getRequesterUserId

      public String getRequesterUserId()
      The ID of the user that requested the ad. For automatic ads, this will be the ID of the broadcaster.
    • getRequesterUserLogin

      public String getRequesterUserLogin()
      The login of the user that requested the ad.
    • getRequesterUserName

      public String getRequesterUserName()
      The display name of the user that requested the ad.
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse EventSubChannelEvent
    • equals

      public boolean equals(Object o)
      Setzt außer Kraft:
      equals in Klasse EventSubChannelEvent
    • canEqual

      protected boolean canEqual(Object other)
      Setzt außer Kraft:
      canEqual in Klasse EventSubChannelEvent
    • hashCode

      public int hashCode()
      Setzt außer Kraft:
      hashCode in Klasse EventSubChannelEvent