---
title: SRFetchResult
framework: sensorkit
role: symbol
role_heading: Class
path: sensorkit/srfetchresult
---

# SRFetchResult

Recorded data that a sensor reader fetches.

## Declaration

```swift
class SRFetchResult<SampleType> where SampleType : AnyObject
```

## Overview

Overview A sensor reader’s delegate receives instances of this class from the sensorReader(_:didCompleteFetch:) when a fetch request finishes successfully. Results are in the form of samples, which are of varying types depending on the reader’s sensor. For a list of sample types per sensor, see Sample types.

## Topics

### Sampling Data

- [sample](sensorkit/srfetchresult/sample.md)
- [timestamp](sensorkit/srfetchresult/timestamp.md)

### Instance Properties

- [sourceDevice](sensorkit/srfetchresult/sourcedevice.md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCopying](foundation/nscopying.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Querying data

- [SRFetchRequest](sensorkit/srfetchrequest.md)
