Interface VoiceRegion

All Superinterfaces:
Entity, HasName
All Known Implementing Classes:
VoiceRegionImpl

public interface VoiceRegion extends Entity, HasName
A voice region on Discord.
Since:
9/14/18
Author:
natanbc
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    boolean
     
    id()
     
    boolean
     
    boolean
    vip()
     

    Methods inherited from interface com.mewna.catnip.entity.Entity

    catnip, serialize

    Methods inherited from interface com.mewna.catnip.entity.partials.HasName

    name
  • Method Details

    • id

      @Nonnull @CheckReturnValue String id()
      Returns:
      The id of the voice region.
    • vip

      @CheckReturnValue boolean vip()
      Returns:
      Whether the voice region is VIP-only.
    • optimal

      @CheckReturnValue boolean optimal()
      Returns:
      Whether the voice region is optimal.
    • deprecated

      @CheckReturnValue boolean deprecated()
      Returns:
      Whether the voice region is deprecated.
    • custom

      @CheckReturnValue boolean custom()
      Returns:
      Whether the voice region is custom.