共用方式為


WebView.IFindListener.OnFindResultReceived(Int32, Int32, Boolean) Method

Definition

Notifies the listener about progress made by a find operation.

[Android.Runtime.Register("onFindResultReceived", "(IIZ)V", "GetOnFindResultReceived_IIZHandler:Android.Webkit.WebView/IFindListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void OnFindResultReceived (int activeMatchOrdinal, int numberOfMatches, bool isDoneCounting);
[<Android.Runtime.Register("onFindResultReceived", "(IIZ)V", "GetOnFindResultReceived_IIZHandler:Android.Webkit.WebView/IFindListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member OnFindResultReceived : int * int * bool -> unit

Parameters

activeMatchOrdinal
Int32

the zero-based ordinal of the currently selected match

numberOfMatches
Int32

how many matches have been found

isDoneCounting
Boolean

whether the find operation has actually completed. The listener may be notified multiple times while the operation is underway, and the numberOfMatches value should not be considered final unless isDoneCounting is true.

Attributes

Remarks

Notifies the listener about progress made by a find operation.

Java documentation for android.webkit.WebView.FindListener.onFindResultReceived(int, int, boolean).

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