CMMotionActivityManager.QueryActivityAsync 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 the device for stored motion activity.
public virtual System.Threading.Tasks.Task<CoreMotion.CMMotionActivity[]> QueryActivityAsync (Foundation.NSDate start, Foundation.NSDate end, Foundation.NSOperationQueue queue);
abstract member QueryActivityAsync : Foundation.NSDate * Foundation.NSDate * Foundation.NSOperationQueue -> System.Threading.Tasks.Task<CoreMotion.CMMotionActivity[]>
override this.QueryActivityAsync : Foundation.NSDate * Foundation.NSDate * Foundation.NSOperationQueue -> System.Threading.Tasks.Task<CoreMotion.CMMotionActivity[]>
Parameters
- start
- NSDate
- end
- NSDate
- queue
- NSOperationQueue
Returns
A task that represents the asynchronous QueryActivity operation. The value of the TResult parameter is a CMMotionActivityQueryHandler.
Remarks
The QueryActivityAsync method is suitable to be used with C# async by returning control to the caller with a Task representing the operation.
To be added.