CMMotionActivityManager.QueryActivity 方法

定义

查询设备中存储的运动活动。

[Foundation.Export("queryActivityStartingFromDate:toDate:toQueue:withHandler:")]
public virtual void QueryActivity (Foundation.NSDate start, Foundation.NSDate end, Foundation.NSOperationQueue queue, CoreMotion.CMMotionActivityQueryHandler handler);
abstract member QueryActivity : Foundation.NSDate * Foundation.NSDate * Foundation.NSOperationQueue * CoreMotion.CMMotionActivityQueryHandler -> unit
override this.QueryActivity : Foundation.NSDate * Foundation.NSDate * Foundation.NSOperationQueue * CoreMotion.CMMotionActivityQueryHandler -> unit

参数

start
NSDate
end
NSDate
属性

适用于