public static enum DiscoveryResult.ResultType extends java.lang.Enum<DiscoveryResult.ResultType>
DiscoveryResult
types.Enum Constant and Description |
---|
DISCOVERY
The
DiscoveryResult represents a DiscoveryLink . |
PLACE
The
DiscoveryResult represents a PlaceLink . |
UNKNOWN
The result type is unknown.
|
Modifier and Type | Method and Description |
---|---|
static DiscoveryResult.ResultType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DiscoveryResult.ResultType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DiscoveryResult.ResultType UNKNOWN
DiscoveryResult
does not
represent a specialized result.public static final DiscoveryResult.ResultType PLACE
DiscoveryResult
represents a PlaceLink
.public static final DiscoveryResult.ResultType DISCOVERY
DiscoveryResult
represents a DiscoveryLink
.public static DiscoveryResult.ResultType[] values()
for (DiscoveryResult.ResultType c : DiscoveryResult.ResultType.values()) System.out.println(c);
public static DiscoveryResult.ResultType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null