Class EmoteList

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

public class EmoteList extends Object
  • Constructor Details

    • EmoteList

      public EmoteList()
  • Method Details

    • getPopulatedTemplateUrl

      public String getPopulatedTemplateUrl(@NonNull @NonNull String id, @NonNull Emote.Format format, @NonNull Emote.Theme theme, @NonNull Emote.Scale size)
      Uses the values from id, format, scale, and theme_mode to replace the like-named placeholder strings in the templated URL to create a CDN (content delivery network) URL that you use to fetch the emote.
      Parameters:
      id - The emote’s ID.
      format - The format of the image to get.
      theme - The background theme of the emote.
      size - The size of the emote.
      Returns:
      the populated emote template url.
      See Also:
    • getEmotes

      public List<Emote> getEmotes()
      The emote data.
    • getTemplate

      public String getTemplate()
      A templated URL.
      See Also:
    • getPagination

      public HelixPagination getPagination()
      Contains the information used to page through the list of results.

      The object is empty if there are no more pages left to page through.

    • 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