WebView.HitTestResult
public
static
class
WebView.HitTestResult
extends Object
| java.lang.Object | |
| ↳ | android.webkit.WebView.HitTestResult |
Summary
Constants | |
|---|---|
int |
ANCHOR_TYPE
This constant was deprecated in API level 14. 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 was deprecated in API level 14. 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 methods | |
|---|---|
String
|
getExtra()
Gets additional type-dependant information about the result. |
int
|
getType()
Gets the type of the hit test result. |
Inherited methods | |
|---|---|
java.lang.Object
| |
Constants
ANCHOR_TYPE
int ANCHOR_TYPE
This constant was deprecated
in API level 14.
This type is no longer used.
Constant Value: 1 (0x00000001)
EDIT_TEXT_TYPE
int EDIT_TEXT_TYPE
HitTestResult for hitting an edit text area.
Constant Value: 9 (0x00000009)
EMAIL_TYPE
int EMAIL_TYPE
HitTestResult for hitting an email address.
Constant Value: 4 (0x00000004)
GEO_TYPE
int GEO_TYPE
HitTestResult for hitting a map address.
Constant Value: 3 (0x00000003)
IMAGE_ANCHOR_TYPE
int IMAGE_ANCHOR_TYPE
This constant was deprecated
in API level 14.
This type is no longer used.
Constant Value: 6 (0x00000006)
IMAGE_TYPE
int IMAGE_TYPE
HitTestResult for hitting an HTML::img tag.
Constant Value: 5 (0x00000005)
PHONE_TYPE
int PHONE_TYPE
HitTestResult for hitting a phone number.
Constant Value: 2 (0x00000002)
SRC_ANCHOR_TYPE
int SRC_ANCHOR_TYPE
HitTestResult for hitting a HTML::a tag with src=http.
Constant Value: 7 (0x00000007)
SRC_IMAGE_ANCHOR_TYPE
int SRC_IMAGE_ANCHOR_TYPE
HitTestResult for hitting a HTML::a tag with src=http + HTML::img.
Constant Value: 8 (0x00000008)
UNKNOWN_TYPE
int UNKNOWN_TYPE
Default HitTestResult, where the target is unknown.
Constant Value: 0 (0x00000000)
Public methods
getExtra
String getExtra ()
Gets additional type-dependant information about the result. See
getHitTestResult() for details. May either be null
or contain extra information about this result.
| Returns | |
|---|---|
String |
additional type-dependant information about the result |
getType
int getType ()
Gets the type of the hit test result. See the XXX_TYPE constants defined in this class.
| Returns | |
|---|---|
int |
the type of the hit test result |
Annotations
Interfaces
Classes
- ClientCertRequest
- ConsoleMessage
- CookieManager
- CookieSyncManager
- DateSorter
- GeolocationPermissions
- HttpAuthHandler
- JsPromptResult
- JsResult
- MimeTypeMap
- PermissionRequest
- RenderProcessGoneDetail
- ServiceWorkerClient
- ServiceWorkerController
- ServiceWorkerWebSettings
- SslErrorHandler
- URLUtil
- WebBackForwardList
- WebChromeClient
- WebChromeClient.FileChooserParams
- WebHistoryItem
- WebIconDatabase
- WebMessage
- WebMessagePort
- WebMessagePort.WebMessageCallback
- WebResourceError
- WebResourceResponse
- WebSettings
- WebStorage
- WebStorage.Origin
- WebView
- WebView.HitTestResult
- WebView.VisualStateCallback
- WebView.WebViewTransport
- WebViewClient
- WebViewDatabase
- WebViewFragment
Enums


