Class WidgetImpl.VoiceChannelImpl
java.lang.Object
net.dv8tion.jda.internal.entities.WidgetImpl.VoiceChannelImpl
- All Implemented Interfaces:
ISnowflake
,Widget.VoiceChannel
- Enclosing class:
WidgetImpl
-
Method Summary
Methods inherited from interface net.dv8tion.jda.api.entities.ISnowflake
getId, getTimeCreated
-
Method Details
-
getPosition
public int getPosition()Description copied from interface:Widget.VoiceChannel
Gets the integer position of the channel- Specified by:
getPosition
in interfaceWidget.VoiceChannel
- 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 interfaceISnowflake
- Returns:
- Long containing the Id.
-
getName
Description copied from interface:Widget.VoiceChannel
Gets the name of the channel *- Specified by:
getName
in interfaceWidget.VoiceChannel
- Returns:
- name of the channel
-
getMembers
Description copied from interface:Widget.VoiceChannel
Gets a list of all members in the channel- Specified by:
getMembers
in interfaceWidget.VoiceChannel
- Returns:
- never-null, possibly-empty list of members in the channel
-
getWidget
Description copied from interface:Widget.VoiceChannel
Gets the Widget to which this voice channel belongs- Specified by:
getWidget
in interfaceWidget.VoiceChannel
- Returns:
- the Widget object that holds this voice channel
-
hashCode
public int hashCode() -
equals
-
toString
-