Language

URLUtil.IsJavaScriptUrl(String) Method

Definition

Checks whether a URL starts with the JavaScript scheme.

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

Parameters

url
String

The URL to test; null does not match.

Returns

true if the url is a javascript: url.

Attributes

Remarks

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