public enum HyperlinkType extends Enum<HyperlinkType>
Note: New items may be added in the future.
Enum Constant and Description |
---|
FROM_INTENT
Hyperlink created using
Hyperlink.from(Intent) or
Hyperlink.from(Intent, boolean) . |
FROM_RUNNABLE
Hyperlink created using
Hyperlink.from(java.lang.Runnable) or
Hyperlink.from(java.lang.Runnable, boolean) . |
Modifier and Type | Method and Description |
---|---|
static HyperlinkType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HyperlinkType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HyperlinkType FROM_RUNNABLE
Hyperlink.from(java.lang.Runnable)
or
Hyperlink.from(java.lang.Runnable, boolean)
.public static final HyperlinkType FROM_INTENT
Hyperlink.from(Intent)
or
Hyperlink.from(Intent, boolean)
.public static HyperlinkType[] values()
public static HyperlinkType 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