java.lang.Object | |
↳ | com.tencent.smtt.sdk.WebView.HitTestResult |
Hit test result
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | ANCHOR_TYPE | This constant is deprecated. This type is no longer used. | |||||||||
int | EDIT_TEXT_TYPE | HitTestResult for hitting an edit text area. | |||||||||
int | EMAIL_TYPE | HitTestResult for hitting an email address. | |||||||||
int | GEO_TYPE | HitTestResult for hitting a map address. | |||||||||
int | IMAGE_ANCHOR_TYPE | This constant is deprecated. This type is no longer used. | |||||||||
int | IMAGE_TYPE | HitTestResult for hitting an HTML::img tag. | |||||||||
int | PHONE_TYPE | HitTestResult for hitting a phone number. | |||||||||
int | SRC_ANCHOR_TYPE | HitTestResult for hitting a HTML::a tag with src=http. | |||||||||
int | SRC_IMAGE_ANCHOR_TYPE | HitTestResult for hitting a HTML::a tag with src=http + HTML::img. | |||||||||
int | UNKNOWN_TYPE | Default HitTestResult, where the target is unknown. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
HitTestResult(WebView.HitTestResult hitTestResult) |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String |
getExtra()
Gets additional type-dependant information about the result.
| ||||||||||
int |
getType()
Gets the type of the hit test result.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
This constant is deprecated.
This type is no longer used.
HitTestResult for hitting an edit text area.
HitTestResult for hitting an email address.
HitTestResult for hitting a map address.
This constant is deprecated.
This type is no longer used.
HitTestResult for hitting an HTML::img tag.
HitTestResult for hitting a phone number.
HitTestResult for hitting a HTML::a tag with src=http.
HitTestResult for hitting a HTML::a tag with src=http + HTML::img.
Default HitTestResult, where the target is unknown.
Gets additional type-dependant information about the result. See
getHitTestResult()
for details. May either be null
or contain extra information about this result.
Gets the type of the hit test result. See the XXX_TYPE constants defined in this class.