CMStepCounter.QueryStepCountAsync(NSDate, NSDate, NSOperationQueue) 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.
Queries for step-counting data.
public virtual System.Threading.Tasks.Task<nint> QueryStepCountAsync (Foundation.NSDate start, Foundation.NSDate end, Foundation.NSOperationQueue queue);
abstract member QueryStepCountAsync : Foundation.NSDate * Foundation.NSDate * Foundation.NSOperationQueue -> System.Threading.Tasks.Task<nint>
override this.QueryStepCountAsync : Foundation.NSDate * Foundation.NSDate * Foundation.NSOperationQueue -> System.Threading.Tasks.Task<nint>
Parameters
- start
- NSDate
- end
- NSDate
- queue
- NSOperationQueue
Returns
A task that represents the asynchronous QueryStepCount operation. The value of the TResult parameter is a CoreMotion.CMStepQueryHandler.
Remarks
The QueryStepCountAsync method is suitable to be used with C# async by returning control to the caller with a Task representing the operation.
To be added.