Share via


WebView.Url Property

Definition

Gets the URL for the current page.

public virtual string? Url { [Android.Runtime.Register("getUrl", "()Ljava/lang/String;", "GetGetUrlHandler")] get; }
[<get: Android.Runtime.Register("getUrl", "()Ljava/lang/String;", "GetGetUrlHandler")>]
member this.Url : string

Property Value

the URL for the current page or null if no page has been loaded

Attributes

Remarks

Gets the URL for the current page. This is not always the same as the URL passed to WebViewClient.onPageStarted because although the load for that URL has begun, the current page may not have changed.

Java documentation for android.webkit.WebView.getUrl().

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