public final class WKDataDetectorTypes
extends java.lang.Object
The type of data detected. [@constant] WKDataDetectorTypeNone No detection is performed. [@constant] WKDataDetectorTypePhoneNumber Phone numbers are detected and turned into links. [@constant] WKDataDetectorTypeLink URLs in text are detected and turned into links. [@constant] WKDataDetectorTypeAddress Addresses are detected and turned into links. [@constant] WKDataDetectorTypeCalendarEvent Dates and times that are in the future are detected and turned into links. [@constant] WKDataDetectorTypeAll All of the above data types are turned into links when detected. Choosing this value will automatically include any new detection type that is added.
| Modifier and Type | Field and Description |
|---|---|
static long |
Address |
static long |
All |
static long |
CalendarEvent |
static long |
FlightNumber |
static long |
Link |
static long |
LookupSuggestion |
static long |
None |
static long |
PhoneNumber |
static long |
SpotlightSuggestion |
static long |
TrackingNumber |
public static final long None
public static final long PhoneNumber
public static final long Link
public static final long Address
public static final long CalendarEvent
public static final long TrackingNumber
public static final long FlightNumber
public static final long LookupSuggestion
public static final long All
public static final long SpotlightSuggestion