<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: -",
    "macOS: 14.0.0 -",
    "tvOS: 17.0.0 -",
    "visionOS: -",
    "watchOS: 10.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppIntents",
  "identifier" : "/documentation/AppIntents/RelevantIntent",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "App Intents"
    ],
    "preciseIdentifier" : "s:10AppIntents14RelevantIntentV"
  },
  "title" : "RelevantIntent"
}
-->

# RelevantIntent

A type that stores an app intent and indicates its relevance to someone.

```
struct RelevantIntent
```

## Overview

Use a `RelevantIntent` structure to specify an action someone might want to take and the
conditions when the system might want to suggest that action. For example, a sports app
might create an action to start playback of a game shortly before that game starts. Specify
the action using a [`WidgetConfigurationIntent`](/documentation/AppIntents/WidgetConfigurationIntent) structure, and register the relevant
intent with the system using the [`RelevantIntentManager`](/documentation/AppIntents/RelevantIntentManager) type.

## Topics

### Initializers

[`init<IntentType>(IntentType, widgetKind: String, relevance: RelevantContext)`](/documentation/AppIntents/RelevantIntent/init(_:widgetKind:relevance:))

Creates an instance of this type using the specified app intent and relevance information.

## Relationships

### Conforms To

[`Escapable`](/documentation/Swift/Escapable)

[`Copyable`](/documentation/Swift/Copyable)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)