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

# sample

Retrieves the sensor-specific data sample contained in this response.

## Declaration

```swift
var sample: Result<Sample, any Error> { get }
```
