Package org.geysermc.floodgate.api.link
Enum Class LinkRequestResult
- All Implemented Interfaces:
Serializable,Comparable<LinkRequestResult>,Constable
@Deprecated(forRemoval=true,
since="3.0.0")
public enum LinkRequestResult
extends Enum<LinkRequestResult>
Deprecated, for removal: This API element is subject to removal in a future version.
The Floodgate API has been deprecated in favor of the GeyserApi, which is shared between Geyser
and Floodgate
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDeprecated, for removal: This API element is subject to removal in a future version.The specified bedrock username is already linked to a Java account.Deprecated, for removal: This API element is subject to removal in a future version.The entered code is invalid.Deprecated, for removal: This API element is subject to removal in a future version.The link request has been verified successfully!Deprecated, for removal: This API element is subject to removal in a future version.The Java player hasn't requested a link to this Bedrock account.Deprecated, for removal: This API element is subject to removal in a future version.The Bedrock player verified the request too late.Deprecated, for removal: This API element is subject to removal in a future version.An unknown error encountered while creating / verifying the link request. -
Method Summary
Modifier and TypeMethodDescriptionstatic LinkRequestResultDeprecated, for removal: This API element is subject to removal in a future version.Returns the enum constant of this class with the specified name.static LinkRequestResult[]values()Deprecated, for removal: This API element is subject to removal in a future version.Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNKNOWN_ERROR
Deprecated, for removal: This API element is subject to removal in a future version.An unknown error encountered while creating / verifying the link request. -
ALREADY_LINKED
Deprecated, for removal: This API element is subject to removal in a future version.The specified bedrock username is already linked to a Java account. -
REQUEST_EXPIRED
Deprecated, for removal: This API element is subject to removal in a future version.The Bedrock player verified the request too late. The request has been expired. -
NO_LINK_REQUESTED
Deprecated, for removal: This API element is subject to removal in a future version.The Java player hasn't requested a link to this Bedrock account. -
INVALID_CODE
Deprecated, for removal: This API element is subject to removal in a future version.The entered code is invalid. -
LINK_COMPLETED
Deprecated, for removal: This API element is subject to removal in a future version.The link request has been verified successfully!
-
-
Method Details
-
values
Deprecated, for removal: This API element is subject to removal in a future version.Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Deprecated, for removal: This API element is subject to removal in a future version.Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-