共用方式為


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
屬性

適用於