android-components / mozilla.components.browser.session / Session / FindResult

FindResult

data class FindResult (source)

A value type representing a result of a “find in page” operation.

Constructors

Name Summary
<init> FindResult(activeMatchOrdinal: Int, numberOfMatches: Int, isDoneCounting: Boolean)
A value type representing a result of a “find in page” operation.

Properties

Name Summary
activeMatchOrdinal val activeMatchOrdinal: Int
the zero-based ordinal of the currently selected match.
isDoneCounting val isDoneCounting: Boolean
true if the find operation has completed, otherwise false.
numberOfMatches val numberOfMatches: Int
the match count

Extension Functions

Name Summary
toFindResultState fun FindResult.toFindResultState(): FindResultState
Creates a matching FindResultState from a Session.FindResult