---
title: "sensorReader(_:didChange:)"
framework: sensorkit
role: symbol
role_heading: Instance Method
path: "sensorkit/srsensorreaderdelegate/sensorreader(_:didchange:)"
---

# sensorReader(_:didChange:)

Notifies the delegate of the reader’s new authorization status.

## Declaration

```swift
optional func sensorReader(_ reader: SRSensorReader, didChange authorizationStatus: SRAuthorizationStatus)
```

## Parameters

- `reader`: The sensor reader whose authorization state changed.
- `authorizationStatus`: A flag indicating whether the framework authorizes the sensor reader.
