@AnyThread public static class GeckoSession.FinderResult extends Object
Modifier and Type | Field and Description |
---|---|
RectF |
clientRect
Bounds of the current match in client coordinates, or null if unknown.
|
int |
current
Ordinal number of the current match starting from 1, or 0 if no match.
|
int |
flags
Flags used for the search; either 0 or a combination of
FINDER_FIND_* flags. |
boolean |
found
Whether a match was found.
|
String |
linkUri
URI of the link, if the current match is a link, or null otherwise.
|
String |
searchString
Search string.
|
int |
total
Total number of matches found so far, or -1 if unknown.
|
boolean |
wrapped
Whether the search wrapped around the top or bottom of the page.
|
Modifier | Constructor and Description |
---|---|
protected |
FinderResult()
Empty constructor for tests
|
public final boolean found
public final boolean wrapped
public final int current
public final int total
@NonNull public final String searchString
public final int flags
FINDER_FIND_*
flags.@Nullable public final String linkUri
@Nullable public final RectF clientRect