---
title: devices
framework: SensorKit
role: symbol
role_heading: Instance Property
platforms: [iOS 27.0+, iPadOS 27.0+, Mac Catalyst 27.0+]
path: sensorkit/srreader/devices
---

# devices

Returns device information for all devices that have stored data for the given sensor in SensorKit

## Declaration

```swift
final var devices: [SRDevice] { get async throws }
```

## Return Value

Return Value An array of SRDevice objects representing available sensor devices

## Discussion

Discussion note: An error if the request failed Example do {     let devices = try await reader.devices     for device in devices {         print("Device: \(device.name), Model: \(device.model)")     } } catch {     print("Failed to fetch devices: \(error)") }
