---
title: messagesUsageReport
framework: sensorkit
role: symbol
role_heading: Type Property
path: sensorkit/srsensor/messagesusagereport
---

# messagesUsageReport

A sensor that provides information about use of the Messages app.

## Declaration

```swift
static let messagesUsageReport: SRSensor
```

## Discussion

Discussion The sample type for this sensor is SRMessagesUsageReport. You need to provide a reason to record Messages app usage by adding the SRSensorUsageMessageUsage dictionary to the NSSensorKitUsageDetail key in the information property list.

## See Also

### Reading app activity sensors

- [phoneUsageReport](sensorkit/srsensor/phoneusagereport.md)
