Enum Class LinkRequestResult

java.lang.Object
java.lang.Enum<LinkRequestResult>
org.geysermc.floodgate.api.link.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 Constants
    Enum Constant
    Description
    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.
    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 Type
    Method
    Description
    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.
    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.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • UNKNOWN_ERROR

      public static final LinkRequestResult 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

      public static final LinkRequestResult 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

      public static final LinkRequestResult 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.
    • INVALID_CODE

      public static final LinkRequestResult INVALID_CODE
      Deprecated, for removal: This API element is subject to removal in a future version.
      The entered code is invalid.
  • Method Details

    • values

      public 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.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static LinkRequestResult valueOf(String name)
      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 name
      NullPointerException - if the argument is null