Class ActiveExtension

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

public class ActiveExtension extends Object
  • Constructor Details

    • ActiveExtension

      public ActiveExtension()
    • ActiveExtension

      public ActiveExtension(Boolean active, String id, String name, String version, Integer x, Integer y)
      Creates a new ActiveExtension instance.
      Parameters:
      active - Activation state of the extension, for each extension type (component, overlay, mobile, panel). If false, no other data is provided.
      id - (Client) ID of the extension.
      name - Name of the extension.
      version - Version of the extension.
      x - (Video-component Extensions only) X-coordinate of the placement of the extension.
      y - (Video-component Extensions only) Y-coordinate of the placement of the extension.
  • Method Details

    • builder

      public static ActiveExtension.ActiveExtensionBuilder builder()
    • toBuilder

    • getActive

      public Boolean getActive()
      Activation state of the extension, for each extension type (component, overlay, mobile, panel). If false, no other data is provided.
    • getId

      public String getId()
      (Client) ID of the extension.
    • getName

      public String getName()
      Name of the extension.
    • getVersion

      public String getVersion()
      Version of the extension.
    • getX

      public Integer getX()
      (Video-component Extensions only) X-coordinate of the placement of the extension.
    • getY

      public Integer getY()
      (Video-component Extensions only) Y-coordinate of the placement of the extension.
    • 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