次の方法で共有


WebChromeClient.OnJsTimeout Method

Definition

Caution

deprecated

Tell the client that a JavaScript execution timeout has occured.

[Android.Runtime.Register("onJsTimeout", "()Z", "GetOnJsTimeoutHandler")]
[System.Obsolete("deprecated")]
public virtual bool OnJsTimeout ();
[<Android.Runtime.Register("onJsTimeout", "()Z", "GetOnJsTimeoutHandler")>]
[<System.Obsolete("deprecated")>]
abstract member OnJsTimeout : unit -> bool
override this.OnJsTimeout : unit -> bool

Returns

boolean Whether the JavaScript execution should be interrupted.

Attributes

Remarks

Tell the client that a JavaScript execution timeout has occured. And the client may decide whether or not to interrupt the execution. If the client returns true, the JavaScript will be interrupted. If the client returns false, the execution will continue. Note that in the case of continuing execution, the timeout counter will be reset, and the callback will continue to occur if the script does not finish at the next check point.

This member is deprecated. This method is no longer supported and will not be invoked.

Java documentation for android.webkit.WebChromeClient.onJsTimeout().

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