Class Highlight

java.lang.Object
com.github.twitch4j.helix.domain.Highlight

public class Highlight extends Object
Data for creating Stream Markers. The userId of the streamer on whose stream to create the marker is required; the description is optional.
  • Constructor Details

    • Highlight

      public Highlight(String userId)
    • Highlight

      public Highlight(String userId, String description)
  • Method Details

    • getUserId

      public String getUserId()
      ID of the broadcaster to create a marker for
    • getDescription

      public String getDescription()
      Optional description to include with the marker
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object