Share via


CMStepCounter.QueryStepCountAsync(NSDate, NSDate, NSOperationQueue) Method

Definition

Queries for step-counting data.

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual System.Threading.Tasks.Task<IntPtr> QueryStepCountAsync(Foundation.NSDate start, Foundation.NSDate end, Foundation.NSOperationQueue queue);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member QueryStepCountAsync : Foundation.NSDate * Foundation.NSDate * Foundation.NSOperationQueue -> System.Threading.Tasks.Task<nativeint>
override this.QueryStepCountAsync : Foundation.NSDate * Foundation.NSDate * Foundation.NSOperationQueue -> System.Threading.Tasks.Task<nativeint>

Parameters

start
NSDate
end
NSDate

Returns

Task<IntPtr>

Task<nativeint>

A task that represents the asynchronous QueryStepCount operation. The value of the TResult parameter is a CoreMotion.CMStepQueryHandler.

Attributes

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.

Applies to