---
title: SRMessagesUsageReport
framework: sensorkit
role: symbol
role_heading: Class
path: sensorkit/srmessagesusagereport
---

# SRMessagesUsageReport

An object that describes the user’s Messages app activity over a period of time.

## Declaration

```swift
class SRMessagesUsageReport
```

## Overview

Overview This object describes the frequency that the user sends or receives messages, and the relative amount of time the user uses the Messages app. The messagesUsageReport sensor provides this class as its sample type.

## Topics

### Analyzing Message Use

- [duration](sensorkit/srmessagesusagereport/duration.md)
- [totalIncomingMessages](sensorkit/srmessagesusagereport/totalincomingmessages.md)
- [totalOutgoingMessages](sensorkit/srmessagesusagereport/totaloutgoingmessages.md)
- [totalUniqueContacts](sensorkit/srmessagesusagereport/totaluniquecontacts.md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Interpreting data

- [SRAmbientLightSample](sensorkit/srambientlightsample.md)
- [SRDeviceUsageReport](sensorkit/srdeviceusagereport.md)
- [SRKeyboardMetrics](sensorkit/srkeyboardmetrics.md)
- [SRMediaEvent](sensorkit/srmediaevent.md)
- [SRPhoneUsageReport](sensorkit/srphoneusagereport.md)
- [SRVisit](sensorkit/srvisit.md)
- [SRWristDetection](sensorkit/srwristdetection.md)
