次の方法で共有


WebViewClient.OnLoadResource(WebView, String) Method

Definition

Notify the host application that the WebView will load the resource specified by the given url.

[Android.Runtime.Register("onLoadResource", "(Landroid/webkit/WebView;Ljava/lang/String;)V", "GetOnLoadResource_Landroid_webkit_WebView_Ljava_lang_String_Handler")]
public virtual void OnLoadResource (Android.Webkit.WebView? view, string? url);
[<Android.Runtime.Register("onLoadResource", "(Landroid/webkit/WebView;Ljava/lang/String;)V", "GetOnLoadResource_Landroid_webkit_WebView_Ljava_lang_String_Handler")>]
abstract member OnLoadResource : Android.Webkit.WebView * string -> unit
override this.OnLoadResource : Android.Webkit.WebView * string -> unit

Parameters

view
WebView

The WebView that is initiating the callback.

url
String

The url of the resource the WebView will load.

Attributes

Remarks

Notify the host application that the WebView will load the resource specified by the given url.

Java documentation for android.webkit.WebViewClient.onLoadResource(android.webkit.WebView, java.lang.String).

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