<!--
{
  "availability" : [
    "watchOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "WidgetKit",
  "identifier" : "/documentation/WidgetKit/RelevanceEntriesProvider",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "WidgetKit"
    ],
    "preciseIdentifier" : "s:9WidgetKit24RelevanceEntriesProviderP"
  },
  "title" : "RelevanceEntriesProvider"
}
-->

# RelevanceEntriesProvider

A type that provides the content for a widget that uses relevance clues to display information in the Smart Stack.

```
protocol RelevanceEntriesProvider
```

## Topics

### Generating relevance entries

[`func entry(configuration: Self.Configuration, context: Self.Context) async throws -> Self.Entry`](/documentation/WidgetKit/RelevanceEntriesProvider/entry(configuration:context:))

Provides the entry used to render a widget for a specific relevance configuration.

[`func relevance() async -> WidgetRelevance<Self.Configuration>`](/documentation/WidgetKit/RelevanceEntriesProvider/relevance())

Provides a collection of conditions under which a specific widget could be relevant.

[`func placeholder(context: Self.Context) -> Self.Entry`](/documentation/WidgetKit/RelevanceEntriesProvider/placeholder(context:))

Provides the entry representing a placeholder version of the
widget.

[`struct RelevanceEntriesProviderContext`](/documentation/WidgetKit/RelevanceEntriesProviderContext)

An object that contains details about how a widget is rendered, including
its size.

### Associated Types

[`associatedtype Configuration : WidgetConfigurationIntent`](/documentation/WidgetKit/RelevanceEntriesProvider/Configuration)

The type of configuration associated with a specific relevance.

[`associatedtype Entry : RelevanceEntry`](/documentation/WidgetKit/RelevanceEntriesProvider/Entry)

A type that specifies the information to render a widget at a specific
relevance configuration.

### Type Aliases

[`typealias Context`](/documentation/WidgetKit/RelevanceEntriesProvider/Context)

An object that contains details about how a widget is rendered.

---

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)