public enum LinkRequestResult extends Enum<LinkRequestResult>
| Enum Constant and Description |
|---|
ALREADY_LINKED
The specified bedrock username is already linked to a Java account.
|
INVALID_CODE
The entered code is invalid.
|
LINK_COMPLETED
The link request has been verified successfully!
|
NO_LINK_REQUESTED
The Java player hasn't requested a link to this Bedrock account.
|
REQUEST_EXPIRED
The Bedrock player verified the request too late.
|
UNKNOWN_ERROR
An unknown error encountered while creating / verifying the link request.
|
| Modifier and Type | Method and Description |
|---|---|
static LinkRequestResult |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LinkRequestResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LinkRequestResult UNKNOWN_ERROR
public static final LinkRequestResult ALREADY_LINKED
public static final LinkRequestResult REQUEST_EXPIRED
public static final LinkRequestResult NO_LINK_REQUESTED
public static final LinkRequestResult INVALID_CODE
public static final LinkRequestResult LINK_COMPLETED
public static LinkRequestResult[] values()
for (LinkRequestResult c : LinkRequestResult.values()) System.out.println(c);
public static LinkRequestResult valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null