CMSensorRecorder

E494402

CMSensorRecorder is an iOS Core Motion class that allows apps to record and retrieve historical motion sensor data, such as accelerometer readings, even when the app is not actively running.

Jump to: Statements Referenced by

Statements (41)

Predicate Object
instanceOf Core Motion API
Objective-C class
Swift-bridged class
iOS framework class
authorizationCheck developers should call isAuthorizedForRecording
availabilityCheck developers should call isAccelerometerRecordingAvailable
category motion sensing API
dataPersistence stored on device
dataType timestamped accelerometer samples
documentationSite Apple Developer Documentation NERFINISHED
framework CoreMotion.framework NERFINISHED
hasMethod +accelerometerDataFrom:to:
+isAccelerometerRecordingAvailable
+isAuthorizedForRecording
+resetDatabases
-recordAccelerometerForDuration:
headerFile <CoreMotion/CoreMotion.h>
introducedIn iOS 8
languageBindings Objective-C NERFINISHED
Swift NERFINISHED
owner Apple Inc. NERFINISHED
partOf Core Motion framework NERFINISHED
persistenceDuration limited historical window (implementation-defined by iOS)
platform iOS
watchOS NERFINISHED
purpose record motion sensor data for later retrieval
recordsSensor accelerometer
relatedClass CMMotionManager NERFINISHED
CMSensorDataList NERFINISHED
relatedFramework HealthKit NERFINISHED
requires device motion hardware
user motion access authorization
returnsDataType CMSensorDataList NERFINISHED
supports accelerometer data recording
background motion data recording
historical motion data retrieval
recording while app is not running
threading callbacks may be delivered on unspecified queue
useCase activity tracking
fitness applications
research and analytics apps

Referenced by (1)

Full triples — surface form annotated when it differs from this entity's canonical label.

CoreMotion APIClass CMSensorRecorder