Interface GuildVoiceState


  • public interface GuildVoiceState
    Represents the voice state of a Member in a Guild.
    • Method Detail

      • getJDA

        @Nonnull
        JDA getJDA()
        Returns the JDA instance of this VoiceState
        Returns:
        The corresponding JDA instance
      • isSelfMuted

        boolean isSelfMuted()
        Returns whether the Member muted themselves.
        Returns:
        The User's self-mute status
      • isSelfDeafened

        boolean isSelfDeafened()
        Returns whether the Member deafened themselves.
        Returns:
        The User's self-deaf status
      • isMuted

        boolean isMuted()
        Returns whether the Member is muted, either by choice isSelfMuted() or deafened by an admin isGuildMuted()
        Returns:
        the Member's mute status
      • isGuildMuted

        boolean isGuildMuted()
        Returns whether the Member got muted by an Admin
        Returns:
        the Member's guild-mute status
      • isGuildDeafened

        boolean isGuildDeafened()
        Returns whether the Member got deafened by an Admin
        Returns:
        the Member's guild-deaf status
      • isSuppressed

        boolean isSuppressed()
        Returns true if this Member is unable to speak because the channel is actively suppressing audio communication. This occurs only in VoiceChannels where the Member either doesn't have Permission#VOICE_SPEAK or if the channel is the designated AFK channel.
        Returns:
        True, if this Member's audio is being suppressed.
      • getMember

        @Nonnull
        Member getMember()
        Returns the Member corresponding to this GuildVoiceState instance (Backreference)
        Returns:
        the Member that holds this GuildVoiceState
      • getSessionId

        @Nullable
        String getSessionId()
        The Session-Id for this VoiceState
        Returns:
        The Session-Id