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

# context

The context of the scene.

```
var context: DeviceActivityReport.Context { get }
```

## Discussion

When your app creates a `DeviceActivityReport` with this context, the
system uses this scene to render the report’s content.

---

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)