---
title: WKDataDetectorTypes
framework: webkit
role: symbol
role_heading: Structure
path: webkit/wkdatadetectortypes
---

# WKDataDetectorTypes

The data detector types.

## Declaration

```swift
struct WKDataDetectorTypes
```

## Overview

Overview To perform no data detection, create an empty set of data detector types, indicated by the empty array literal, []. For example: let myDataDetector: WKDataDetectorTypes = []

## Topics

### Data Detector Types

- [phoneNumber](webkit/wkdatadetectortypes/phonenumber.md)
- [link](webkit/wkdatadetectortypes/link.md)
- [address](webkit/wkdatadetectortypes/address.md)
- [calendarEvent](webkit/wkdatadetectortypes/calendarevent.md)
- [trackingNumber](webkit/wkdatadetectortypes/trackingnumber.md)
- [flightNumber](webkit/wkdatadetectortypes/flightnumber.md)
- [lookupSuggestion](webkit/wkdatadetectortypes/lookupsuggestion.md)
- [all](webkit/wkdatadetectortypes/all.md)

### Initializers

- [init(rawValue:)](webkit/wkdatadetectortypes/init(rawvalue:).md)

### Deprecated Types

- [spotlightSuggestion](webkit/wkdatadetectortypes/spotlightsuggestion.md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [ExpressibleByArrayLiteral](swift/expressiblebyarrayliteral.md)
- [OptionSet](swift/optionset.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
- [SetAlgebra](swift/setalgebra.md)

## See Also

### Identifying data types

- [dataDetectorTypes](webkit/wkwebviewconfiguration/datadetectortypes.md)
