Edytuj

Udostępnij za pośrednictwem


CMStepCounter.QueryStepCountAsync(NSDate, NSDate, NSOperationQueue) Method

Definition

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

Returns

Task<System.System.IntPtr>

Task<System.nativeint>

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.

Applies to