---
title: "displayRepresentation(with:)"
framework: appintents
role: symbol
role_heading: Instance Method
path: "appintents/instancedisplayrepresentable/displayrepresentation(with:)"
---

# displayRepresentation(with:)

Asynchronous method to retrieve the DisplayRepresentation with the requested components.

## Declaration

```swift
func displayRepresentation(with components: DisplayRepresentation.Components) async -> DisplayRepresentation
```

## Discussion

Discussion Override this method to provide the display representation and populate its properties depending on the components requested. The default value is the existing value of the display representation in its entirety.
