---
title: sr_sensorForDeletionRecordsFromSensor()
framework: foundation
role: symbol
role_heading: Instance Method
path: foundation/nsstring/sr_sensorfordeletionrecordsfromsensor()
---

# sr_sensorForDeletionRecordsFromSensor()

## Declaration

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

## Return Value

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

## Discussion

Discussion Returns a sensor stream that contains deletion records of the sensor 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.
