---
title: "makeConfiguration(representing:)"
framework: deviceactivity
role: symbol
role_heading: Instance Method
path: "deviceactivity/deviceactivityreportscene/makeconfiguration(representing:)"
---

# makeConfiguration(representing:)

Creates a new configuration that represents the provided data.

## Declaration

```swift
func makeConfiguration(representing data: DeviceActivityResults<DeviceActivityData>) async -> Self.Configuration
```

## Discussion

Discussion Use this function to create a new configuration when your app changes the filter for a report or the system fetches more device activity data.
