Class Channel

java.lang.Object
com.github.twitch4j.extensions.domain.Channel

public class Channel extends Object
  • Constructor Details

    • Channel

      public Channel()
    • Channel

      public Channel(String id, String username, String game, String title, Long viewCount)
      Deprecated.
      No migration path in the new Helix API.
      Creates a new Channel instance.
      Parameters:
      id - User id of the channel owner.
      username - Display name of the channel owner.
      game - Game Id.
      title - Stream title.
      viewCount - Stream view count.
  • Method Details

    • getId

      public String getId()
      User id of the channel owner.
    • getUsername

      public String getUsername()
      Display name of the channel owner.
    • getGame

      public String getGame()
      Game Id.
    • getTitle

      public String getTitle()
      Stream title.
    • getViewCount

      @Deprecated public Long getViewCount()
      Deprecated.
      No migration path in the new Helix API.
      Stream view count.
    • 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