Modifier and Type | Field and Description |
---|---|
static int |
ANCHOR_TYPE
Deprecated.
This type is no longer used.
|
static int |
EDIT_TEXT_TYPE
HitTestResult for hitting an edit text area.
|
static int |
EMAIL_TYPE
HitTestResult for hitting an email address.
|
static int |
GEO_TYPE
HitTestResult for hitting a map address.
|
static int |
IMAGE_ANCHOR_TYPE
Deprecated.
This type is no longer used.
|
static int |
IMAGE_TYPE
HitTestResult for hitting an HTML::img tag.
|
static int |
PHONE_TYPE
HitTestResult for hitting a phone number.
|
static int |
SRC_ANCHOR_TYPE
HitTestResult for hitting a HTML::a tag with src=http.
|
static int |
SRC_IMAGE_ANCHOR_TYPE
HitTestResult for hitting a HTML::a tag with src=http + HTML::img.
|
static int |
UNKNOWN_TYPE
Default HitTestResult, where the target is unknown.
|
Constructor and Description |
---|
HitTestResult() |
Modifier and Type | Method and Description |
---|---|
String |
getExtra()
Gets additional type-dependant information about the result.
|
int |
getType()
Gets the type of the hit test result.
|
void |
setExtra(String extra) |
void |
setType(int type) |
public static final int UNKNOWN_TYPE
@Deprecated public static final int ANCHOR_TYPE
public static final int PHONE_TYPE
public static final int GEO_TYPE
public static final int EMAIL_TYPE
public static final int IMAGE_TYPE
@Deprecated public static final int IMAGE_ANCHOR_TYPE
public static final int SRC_ANCHOR_TYPE
public static final int SRC_IMAGE_ANCHOR_TYPE
public static final int EDIT_TEXT_TYPE
public void setType(int type)
public void setExtra(String extra)
public int getType()
public String getExtra()
WebView.getHitTestResult()
for details. May either be null
or contain extra information about this result.