Linkify.IMatchFilter.AcceptMatch(ICharSequence, Int32, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Examines the character span matched by the pattern and determines if the match should be turned into an actionable link.
[Android.Runtime.Register("acceptMatch", "(Ljava/lang/CharSequence;II)Z", "GetAcceptMatch_Ljava_lang_CharSequence_IIHandler:Android.Text.Util.Linkify/IMatchFilterInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public bool AcceptMatch (Java.Lang.ICharSequence? s, int start, int end);
[<Android.Runtime.Register("acceptMatch", "(Ljava/lang/CharSequence;II)Z", "GetAcceptMatch_Ljava_lang_CharSequence_IIHandler:Android.Text.Util.Linkify/IMatchFilterInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member AcceptMatch : Java.Lang.ICharSequence * int * int -> bool
Parameters
The body of text against which the pattern was matched
- start
- Int32
The index of the first character in s that was matched by the pattern - inclusive
- end
- Int32
The index of the last character in s that was matched - exclusive
Returns
Whether this match should be turned into a link
- Attributes
Remarks
Examines the character span matched by the pattern and determines if the match should be turned into an actionable link.
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.