Class WidgetUtil.Widget.VoiceChannel

java.lang.Object
net.dv8tion.jda.api.utils.WidgetUtil.Widget.VoiceChannel
All Implemented Interfaces:
ISnowflake
Enclosing class:
WidgetUtil.Widget

public static class WidgetUtil.Widget.VoiceChannel extends Object implements ISnowflake
  • Method Details

    • getPosition

      public int getPosition()
      Gets the integer position of the channel
      Returns:
      integer position of the channel
    • getIdLong

      public long getIdLong()
      Description copied from interface: ISnowflake
      The Snowflake id of this entity. This is unique to every entity and will never change.
      Specified by:
      getIdLong in interface ISnowflake
      Returns:
      Long containing the Id.
    • getName

      @Nonnull public String getName()
      Gets the name of the channel
      Returns:
      name of the channel
    • getMembers

      @Nonnull public List<WidgetUtil.Widget.Member> getMembers()
      Gets a list of all members in the channel
      Returns:
      never-null, possibly-empty list of members in the channel
    • getWidget

      @Nonnull public WidgetUtil.Widget getWidget()
      Gets the Widget to which this voice channel belongs
      Returns:
      the Widget object that holds this voice channel
    • hashCode

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

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object