CMPedometer.QueryPedometerDataAsync(NSDate, NSDate) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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>.