Linkify.ITransformFilter.TransformUrl(Matcher, String) Method

Definition

Examines the matched text and either passes it through or uses the data in the Matcher state to produce a replacement.

[Android.Runtime.Register("transformUrl", "(Ljava/util/regex/Matcher;Ljava/lang/String;)Ljava/lang/String;", "GetTransformUrl_Ljava_util_regex_Matcher_Ljava_lang_String_Handler:Android.Text.Util.Linkify/ITransformFilterInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public string? TransformUrl (Java.Util.Regex.Matcher? match, string? url);
[<Android.Runtime.Register("transformUrl", "(Ljava/util/regex/Matcher;Ljava/lang/String;)Ljava/lang/String;", "GetTransformUrl_Ljava_util_regex_Matcher_Ljava_lang_String_Handler:Android.Text.Util.Linkify/ITransformFilterInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member TransformUrl : Java.Util.Regex.Matcher * string -> string

Parameters

match
Matcher

The regex matcher state that found this URL text

url
String

The text that was matched

Returns

The transformed form of the URL

Attributes

Remarks

Examines the matched text and either passes it through or uses the data in the Matcher state to produce a replacement.

Java documentation for android.text.util.Linkify.TransformFilter.transformUrl(java.util.regex.Matcher, 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