Condividi tramite


WebChromeClient.OnRequestFocus(WebView) Method

Definition

Request display and focus for this WebView.

[Android.Runtime.Register("onRequestFocus", "(Landroid/webkit/WebView;)V", "GetOnRequestFocus_Landroid_webkit_WebView_Handler")]
public virtual void OnRequestFocus (Android.Webkit.WebView? view);
[<Android.Runtime.Register("onRequestFocus", "(Landroid/webkit/WebView;)V", "GetOnRequestFocus_Landroid_webkit_WebView_Handler")>]
abstract member OnRequestFocus : Android.Webkit.WebView -> unit
override this.OnRequestFocus : Android.Webkit.WebView -> unit

Parameters

view
WebView

The WebView that needs to be focused.

Attributes

Remarks

Request display and focus for this WebView. This may happen due to another WebView opening a link in this WebView and requesting that this WebView be displayed.

Java documentation for android.webkit.WebChromeClient.onRequestFocus(android.webkit.WebView).

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