---
title: startRecording()
framework: SensorKit
role: symbol
role_heading: Instance Method
platforms: [iOS 27.0+, iPadOS 27.0+, Mac Catalyst 27.0+]
path: sensorkit/srreader/startrecording()
---

# startRecording()

Starts recording sensor data.

## Declaration

```swift
final func startRecording() async throws
```

## Discussion

Discussion The reader must be authorized for the sensor for this to succeed. This starts recording on this device and any paired devices. If other readers have already started the sensor recording this reader’s interest in recording will be maintained. Other readers in other apps for the same sensor will not affect the recording status of this reader. note: An error if recording cannot be started due to permissions, hardware limitations, or other system restrictions Example do {     try await reader.startRecording() } catch {     print("Failed to start recording: \(error)") }
