MatchOptions Enum
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.
Enumerates values returned by several types and taken as a parameter of the F:Android.Text.Util.Linkify.AddLinks, and F:Android.Text.Util.Linkify.AddLinks members.
This enumeration supports a bitwise combination of its member values.
[System.Flags]
public enum MatchOptions
[<System.Flags>]
type MatchOptions =
- Inheritance
-
MatchOptions
- Attributes
Fields
| Name | Value | Description |
|---|---|---|
| WebUrls | 1 | Bit field indicating that web URLs should be matched in methods that take an options mask. |
| EmailAddresses | 2 | Bit field indicating that email addresses should be matched in methods that take an options mask. |
| PhoneNumbers | 4 | Bit field indicating that phone numbers should be matched in methods that take an options mask. |
| MapAddresses | 8 | Deprecated Android API. A bit field that matches street addresses. Avoid this member; on API level 28 and later, use GenerateLinks(TextLinks+Request) instead. It uses FindAddress(String), which has various limitations and is deprecated, and Linkify methods may throw |
| All | 15 | Deprecated Android API. A bit mask that matches all available patterns, including street addresses through MapAddresses. Avoid this member; on API level 28 and later, use GenerateLinks(TextLinks+Request) instead. Because this member includes MapAddresses, FindAddress(String) limitations apply, and Linkify methods may throw |
Remarks
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.