---
title: "DataDetector.Match.SemanticDetails.calendarEvent(_:)"
framework: datadetection
role: symbol
role_heading: Case
path: "datadetection/datadetector/match/semanticdetails/calendarevent(_:)"
---

# DataDetector.Match.SemanticDetails.calendarEvent(_:)

A match that the data detector determines represents a calendar event.

## Declaration

```swift
case calendarEvent(DataDetector.Match.SemanticDetails.CalendarEvent)
```

## Parameters

- `CalendarEvent`: A doc://com.apple.datadetection/documentation/DataDetection/DataDetector/Match/SemanticDetails/CalendarEvent structure.
