Edit

Share via


CMPedometer.QueryPedometerDataAsync(NSDate, NSDate) Method

Definition

Requests pedometer data for the specified range.

public virtual System.Threading.Tasks.Task<CoreMotion.CMPedometerData> QueryPedometerDataAsync (Foundation.NSDate start, Foundation.NSDate end);
abstract member QueryPedometerDataAsync : Foundation.NSDate * Foundation.NSDate -> System.Threading.Tasks.Task<CoreMotion.CMPedometerData>
override this.QueryPedometerDataAsync : Foundation.NSDate * Foundation.NSDate -> System.Threading.Tasks.Task<CoreMotion.CMPedometerData>

Parameters

start
NSDate
end
NSDate

Returns

A task that represents the asynchronous QueryPedometerData operation. The value of the TResult parameter is of type System.Action<CoreMotion.CMPedometerData,Foundation.NSError>.

Applies to