SRSensorReaderDelegate
A set of callbacks the framework invokes to notify the app of sensor-related events.
Declaration
protocol SRSensorReaderDelegate : NSObjectProtocolOverview
To access sensor data, assign an object as the delegate and implement its callbacks.
Topics
Checking Authorization Status
Fetching Devices
Recording Data
sensorReaderWillStartRecording(_:)sensorReader(_:startRecordingFailedWithError:)sensorReaderDidStopRecording(_:)sensorReader(_:stopRecordingFailedWithError:)
Reading Recorded Data
sensorReader(_:fetching:didFetchResult:)sensorReader(_:didCompleteFetch:)sensorReader(_:fetching:failedWithError:)