<!--
{
  "availability" : [

  ],
  "documentType" : "symbol",
  "framework" : "DeviceActivity",
  "identifier" : "/documentation/DeviceActivity",
  "metadataVersion" : "0.1.0",
  "role" : "Framework",
  "symbol" : {
    "kind" : "Framework",
    "modules" : [
      "Device Activity"
    ],
    "preciseIdentifier" : "DeviceActivity"
  },
  "title" : "Device Activity"
}
-->

# Device Activity

Monitor device activity with your app extension while maintaining privacy.

## Overview

Device Activity provides a privacy-preserving way for an application to monitor a person’s application and website activity.
For instance, you can set up a bedtime schedule that monitors device activity while the person is supposed to be asleep.
Your app extension can receive warnings before an activity’s schedule starts or ends, or when an activity is about to reach a predefined threshold.
You can monitor the time spent on websites and apps to warn the person once they have reached their threshold.

![A diagram depicting different kinds of device activity the framework can monitor. On the left are three icons in a vertical row, including an App store icon, a Settings icon, and a Safari icon. All three icons have arrows pointing to a clock.](images/com.apple.DeviceActivity/device-activity-overview@2x.png)

## Topics

### Manage activities

[`DeviceActivityEvent`](/documentation/DeviceActivity/DeviceActivityEvent)

An event that represents an application, category, or website activity.

[`DeviceActivityName`](/documentation/DeviceActivity/DeviceActivityName)

The unique name of an activity.

[`DeviceActivitySchedule`](/documentation/DeviceActivity/DeviceActivitySchedule)

A calendar-based schedule for when to monitor a device’s activity.

[`DeviceActivityCenter`](/documentation/DeviceActivity/DeviceActivityCenter)

A class that enables an application’s extension to start monitoring scheduled device activity.

### Monitor activity

[`DeviceActivityMonitor`](/documentation/DeviceActivity/DeviceActivityMonitor)

The object that monitors scheduled device activity.

### Report activity

[`DeviceActivityReport`](/documentation/DeviceActivity/DeviceActivityReport)

A view that reports the user’s application, category, and web domain activity in a privacy-preserving way.

[`DeviceActivityReportExtension`](/documentation/DeviceActivity/DeviceActivityReportExtension)

An app extension that reports device activity data.

[`DeviceActivityReportScene`](/documentation/DeviceActivity/DeviceActivityReportScene)

Defines a custom device activity report scene.

[`DeviceActivityReportBuilder`](/documentation/DeviceActivity/DeviceActivityReportBuilder)

A result builder that combines one or more `DeviceActivityReportScene`s into a single scene.

### Filter activity data

[`DeviceActivityFilter`](/documentation/DeviceActivity/DeviceActivityFilter)

A type that filters the device activity data to include in a report.

[`DeviceActivityData`](/documentation/DeviceActivity/DeviceActivityData)

Activity data for a person on a specific device.

[`DeviceActivityResults`](/documentation/DeviceActivity/DeviceActivityResults)

An asynchronous sequence of filtered device activity results.

### Authorize access

[`DeviceActivityAuthorization`](/documentation/DeviceActivity/DeviceActivityAuthorization)

[`DeviceActivityAuthorizing`](/documentation/DeviceActivity/DeviceActivityAuthorizing)

### Handle errors

[`DeviceActivityCenter.MonitoringError`](/documentation/DeviceActivity/DeviceActivityCenter/MonitoringError)

Errors that may occur when starting to monitor an activity.



---

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)
