content(for:)
Fetches the content for the specified topic.
Declaration
final func content(for topic: ProximityReaderDiscovery.Topic) async throws -> ProximityReaderDiscovery.ContentParameters
- topic:
The topic you want to display.
Return Value
The requested content, when successful.
Discussion
Call this method to get the content definition for the specified topic. The discovery interface uses the specified identifier to determine what to display.