Language

URLUtil.IsNetworkUrl(String) Method

Definition

Checks whether a URL uses an HTTP or HTTPS network prefix.

[Android.Runtime.Register("isNetworkUrl", "(Ljava/lang/String;)Z", "")]
public static bool IsNetworkUrl(string? url);
[<Android.Runtime.Register("isNetworkUrl", "(Ljava/lang/String;)Z", "")>]
static member IsNetworkUrl : string -> bool

Parameters

url
String

The URL to test; null does not match.

Returns

true if the url is a network url.

Attributes

Remarks

Java documentation for android.webkit.URLUtil.isNetworkUrl(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