<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "macCatalyst: 16.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "DeviceActivity",
  "identifier" : "/documentation/DeviceActivity/DeviceActivityReportScene/makeConfiguration(representing:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Device Activity",
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:23_DeviceActivity_SwiftUI0aB11ReportSceneP17makeConfiguration12representing0H0QzAA0aB7ResultsVy0aB00aB4DataVG_tYaF"
  },
  "title" : "makeConfiguration(representing:)"
}
-->

# makeConfiguration(representing:)

Creates a new configuration that represents the provided data.

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

## 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.

---

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)