IOSWKDataDetectorTypes class
An iOS-specific class used to specify a dataDetectoryTypes
value that adds interactivity to web content that matches the value.
NOTE: available on iOS 10.0+.
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
-
toValue(
) → String
Operators
-
operator ==(
Object value) → bool -
The equality operator.
override
Static Properties
-
values
→ Set<
IOSWKDataDetectorTypes> -
final
Static Methods
-
fromValue(
String? value) → IOSWKDataDetectorTypes?
Constants
- ADDRESS → const IOSWKDataDetectorTypes
- Addresses are detected and turned into links.
- ALL → const IOSWKDataDetectorTypes
- 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.
- CALENDAR_EVENT → const IOSWKDataDetectorTypes
- Dates and times that are in the future are detected and turned into links.
- FLIGHT_NUMBER → const IOSWKDataDetectorTypes
- Flight numbers are detected and turned into links.
- LINK → const IOSWKDataDetectorTypes
- URLs in text are detected and turned into links.
- LOOKUP_SUGGESTION → const IOSWKDataDetectorTypes
- Lookup suggestions are detected and turned into links.
- NONE → const IOSWKDataDetectorTypes
- No detection is performed.
- PHONE_NUMBER → const IOSWKDataDetectorTypes
- Phone numbers are detected and turned into links.
- SPOTLIGHT_SUGGESTION → const IOSWKDataDetectorTypes
- Spotlight suggestions are detected and turned into links.
- TRACKING_NUMBER → const IOSWKDataDetectorTypes
- Tracking numbers are detected and turned into links.