Dela via


UrlQuerySanitizer.ParseUrl(String) Method

Definition

Parse the query parameters out of an encoded URL.

[Android.Runtime.Register("parseUrl", "(Ljava/lang/String;)V", "GetParseUrl_Ljava_lang_String_Handler")]
public virtual void ParseUrl (string? url);
[<Android.Runtime.Register("parseUrl", "(Ljava/lang/String;)V", "GetParseUrl_Ljava_lang_String_Handler")>]
abstract member ParseUrl : string -> unit
override this.ParseUrl : string -> unit

Parameters

url
String

the encoded URL to parse.

Attributes

Remarks

Parse the query parameters out of an encoded URL. Works by extracting the query portion from the URL and then calling parseQuery(). If there is no query portion it is treated as if the query portion is an empty string.

Java documentation for android.net.UrlQuerySanitizer.parseUrl(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