Package org.mozilla.geckoview
Class GeckoSession.FinderResult
Object
org.mozilla.geckoview.GeckoSession.FinderResult
- Enclosing class:
- GeckoSession
Represent the result of a find-in-page operation.
-
Field Summary
Modifier and TypeFieldDescriptionfinal RectF
Bounds of the current match in client coordinates, or null if unknown.final int
Ordinal number of the current match starting from 1, or 0 if no match.final int
Flags used for the search; either 0 or a combination ofFINDER_FIND_*
flags.final boolean
Whether a match was found.final String
URI of the link, if the current match is a link, or null otherwise.final String
Search string.final int
Total number of matches found so far, or -1 if unknown.final boolean
Whether the search wrapped around the top or bottom of the page. -
Constructor Summary
-
Method Summary
-
Field Details
-
found
public final boolean foundWhether a match was found. -
wrapped
public final boolean wrappedWhether the search wrapped around the top or bottom of the page. -
current
public final int currentOrdinal number of the current match starting from 1, or 0 if no match. -
total
public final int totalTotal number of matches found so far, or -1 if unknown. -
searchString
Search string. -
flags
public final int flagsFlags used for the search; either 0 or a combination ofFINDER_FIND_*
flags. -
linkUri
URI of the link, if the current match is a link, or null otherwise. -
clientRect
Bounds of the current match in client coordinates, or null if unknown.
-
-
Constructor Details
-
FinderResult
protected FinderResult()Empty constructor for tests
-