<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -",
    "macCatalyst: 18.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ProximityReader",
  "identifier" : "/documentation/ProximityReader/ProximityReaderDiscovery/content(for:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "ProximityReader"
    ],
    "preciseIdentifier" : "s:15ProximityReader0aB9DiscoveryC7content3forAC7ContentVAC5TopicO_tYaKF"
  },
  "title" : "content(for:)"
}
-->

# content(for:)

Fetches the content for the specified topic.

```
final func content(for topic: ProximityReaderDiscovery.Topic) async throws -> ProximityReaderDiscovery.Content
```

## Parameters

`topic`

The topic you want to display.

## Return Value

The requested content, when successful.

## Discussion> Throws: The method throws a ``doc://com.apple.ProximityReader/documentation/ProximityReader/ProximityReaderDiscovery/ContentError`` if it fails to get
> the content.

Call this method to get the content definition for the specified topic.
The discovery interface uses the specified identifier to determine
what to display.

---

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)