<!--
{
  "availability" : [
    "iOS: 14.0.0 -",
    "iPadOS: 14.0.0 -",
    "macCatalyst: 14.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SensorKit",
  "identifier" : "/documentation/SensorKit/SRDeviceUsageReport/NotificationUsage",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "SensorKit"
    ],
    "preciseIdentifier" : "c:objc(cs)SRNotificationUsage"
  },
  "title" : "SRDeviceUsageReport.NotificationUsage"
}
-->

# SRDeviceUsageReport.NotificationUsage

An object that describes notification frequency and the manner in which the user interacts with notifications.

```
class NotificationUsage
```

## Overview

Each instance of this class represents a user notification in a particular app category. For more information, see [`notificationUsageByCategory`](/documentation/SensorKit/SRDeviceUsageReport/notificationUsageByCategory).

## Topics

### Analyzing Notification Use

[`var bundleIdentifier: String?`](/documentation/SensorKit/SRDeviceUsageReport/NotificationUsage/bundleIdentifier)

The bundle identifier of the app that corresponds to the notification.

[`var event: SRDeviceUsageReport.NotificationUsage.Event`](/documentation/SensorKit/SRDeviceUsageReport/NotificationUsage/event-swift.property)

The way that the user interacts with the notification.

[`enum Event`](/documentation/SensorKit/SRDeviceUsageReport/NotificationUsage/Event-swift.enum)

The ways that a user interacts with notifications.

## Relationships

### Conforms To

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`Hashable`](/documentation/Swift/Hashable)

[`CVarArg`](/documentation/Swift/CVarArg)

[`Equatable`](/documentation/Swift/Equatable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`Sendable`](/documentation/Swift/Sendable)

### Inherits From

[`NSObject-swift.class`](/documentation/ObjectiveC/NSObject-swift.class)

---

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)