Language

URLUtil.GuessUrl(String) Method

Definition

Cleans up (if possible) user-entered web addresses

[Android.Runtime.Register("guessUrl", "(Ljava/lang/String;)Ljava/lang/String;", "")]
public static string? GuessUrl(string? inUrl);
[<Android.Runtime.Register("guessUrl", "(Ljava/lang/String;)Ljava/lang/String;", "")>]
static member GuessUrl : string -> string

Parameters

inUrl
String

The user-entered address to interpret as a URL.

Returns

The adjusted web address, or the original input when it is left unchanged or cannot be parsed.

Attributes

Remarks

Cleans up (if possible) user-entered web addresses

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