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

# fetchDevices()

Acquires device information for all devices that store data for this reader’s sensor.

```
func fetchDevices()
```

## Discussion

Upon success, the framework provides an array of devices to the delegate via [`sensorReader(_:didFetch:)`](/documentation/SensorKit/SRSensorReaderDelegate/sensorReader(_:didFetch:)). Upon failure, the framework invokes the delegate’s [`sensorReader(_:fetchDevicesDidFailWithError:)`](/documentation/SensorKit/SRSensorReaderDelegate/sensorReader(_:fetchDevicesDidFailWithError:)) callback.

---

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)