Package net.dv8tion.jda.api.entities
Enum ApplicationInfo.Flag
- All Implemented Interfaces:
Serializable
,Comparable<ApplicationInfo.Flag>
- Enclosing interface:
ApplicationInfo
Flag constants corresponding to the Discord Enum
- See Also:
-
Enum Constant Summary
Enum ConstantDescriptionIndicates if an app is embedded within the Discord client (currently unavailable publicly)Bot can useGatewayIntent.GUILD_MEMBERS
in 100 or more guildsBot can useGatewayIntent.GUILD_MEMBERS
in under 100 guildsBot can useGatewayIntent.MESSAGE_CONTENT
in 100 or more guildsBot can useGatewayIntent.MESSAGE_CONTENT
in under 100 guildsBot can useGatewayIntent.GUILD_PRESENCES
in 100 or more guildsBot can useGatewayIntent.GUILD_PRESENCES
in under 100 guildsIndicates unusual growth of an app that prevents verification -
Method Summary
Modifier and TypeMethodDescriptionstatic EnumSet
<ApplicationInfo.Flag> fromRaw
(long raw) Converts the provided bitset to the corresponding enum constants.static ApplicationInfo.Flag
Returns the enum constant of this type with the specified name.static ApplicationInfo.Flag[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
GATEWAY_PRESENCE
Bot can useGatewayIntent.GUILD_PRESENCES
in 100 or more guilds -
GATEWAY_PRESENCE_LIMITED
Bot can useGatewayIntent.GUILD_PRESENCES
in under 100 guilds -
GATEWAY_GUILD_MEMBERS
Bot can useGatewayIntent.GUILD_MEMBERS
in 100 or more guilds -
GATEWAY_GUILD_MEMBERS_LIMITED
Bot can useGatewayIntent.GUILD_MEMBERS
in under 100 guilds -
VERIFICATION_PENDING_GUILD_LIMIT
Indicates unusual growth of an app that prevents verification -
EMBEDDED
Indicates if an app is embedded within the Discord client (currently unavailable publicly) -
GATEWAY_MESSAGE_CONTENT
Bot can useGatewayIntent.MESSAGE_CONTENT
in 100 or more guilds -
GATEWAY_MESSAGE_CONTENT_LIMITED
Bot can useGatewayIntent.MESSAGE_CONTENT
in under 100 guilds
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
fromRaw
Converts the provided bitset to the corresponding enum constants.- Parameters:
raw
- The bitset of flags- Returns:
EnumSet
ofApplicationInfo.Flag
-