<!--
{
  "availability" : [
    "iOS: 14.0.0 - 27.0.0",
    "iPadOS: 14.0.0 - 27.0.0",
    "macCatalyst: 14.0.0 - 27.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/NSString/sr_sensorForDeletionRecordsFromSensor()",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "c:objc(cs)NSString(im)sr_sensorForDeletionRecordsFromSensor"
  },
  "title" : "sr_sensorForDeletionRecordsFromSensor()"
}
-->

# sr_sensorForDeletionRecordsFromSensor()

```
func sr_sensorForDeletionRecordsFromSensor() -> SRSensor?
```

## Return Value

May return nil if there is no deletion record available for this sensor

## Discussion\abstract Returns a sensor stream that contains deletion records of the sensor
\discussion This sensor stream should only be used for fetching. All other
operations will be ignored. Deletion records share the recording and authorization
state with their parent sensor.

---

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)