Dela via


HitTestResult Enum

Definition

Enumerates values returned by several types.

public enum HitTestResult
type HitTestResult = 
Inheritance
HitTestResult

Fields

Name Value Description
UnknownType 0

Default HitTestResult, where the target is unknown.

AnchorType 1
PhoneType 2

HitTestResult for hitting a phone number.

GeoType 3

HitTestResult for hitting a map address.

EmailType 4

HitTestResult for hitting an email address.

ImageType 5

HitTestResult for hitting an HTML::img tag.

ImageAnchorType 6
SrcAnchorType 7

HitTestResult for hitting a HTML::a tag with src=http.

SrcImageAnchorType 8

HitTestResult for hitting a HTML::a tag with src=http + HTML::img.

EditTextType 9

HitTestResult for hitting an edit text area.

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to