Share via


CMSensorRecorder.GetAccelerometerData(NSDate, NSDate) Method

Definition

Retrieves accelerometer data for the specified time interval.

[Foundation.Export("accelerometerDataFromDate:toDate:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual CoreMotion.CMSensorDataList? GetAccelerometerData(Foundation.NSDate fromDate, Foundation.NSDate toDate);
[<Foundation.Export("accelerometerDataFromDate:toDate:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetAccelerometerData : Foundation.NSDate * Foundation.NSDate -> CoreMotion.CMSensorDataList
override this.GetAccelerometerData : Foundation.NSDate * Foundation.NSDate -> CoreMotion.CMSensorDataList

Parameters

fromDate
NSDate
toDate
NSDate

Returns

Attributes

Applies to