public enum HyperlinkType extends java.lang.Enum<HyperlinkType>
Note: New items may be added in the future.
| Enum Constant | 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 | Description |
|---|---|---|
static HyperlinkType |
valueOf(java.lang.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()
for (HyperlinkType c : HyperlinkType.values()) System.out.println(c);
public static HyperlinkType 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 nullBuilt on April 24 2018. | Portions Copyright 1997-2018 Oracle. All rights reserved.