Contents

displayRepresentation(with:)

Asynchronous method to retrieve the DisplayRepresentation with the requested components.

Declaration

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

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.