---
title: onWristState
framework: sensorkit
role: symbol
role_heading: Type Property
path: sensorkit/srsensor/onwriststate
---

# onWristState

A sensor that describes the watch’s position on the wrist.

## Declaration

```swift
static let onWristState: SRSensor
```

## Discussion

Discussion The sample type for this sensor is SRWristDetection You need to provide a reason to detect the watch position by adding the SRSensorUsageWristDetection dictionary to the NSSensorKitUsageDetail key in the information property list.

## See Also

### Reading device sensors

- [deviceUsageReport](sensorkit/srsensor/deviceusagereport.md)
- [keyboardMetrics](sensorkit/srsensor/keyboardmetrics.md)
