共用方式為


CMPedometer.StartPedometerUpdates 方法

定義

要求計開始將定期更新傳送至應用程式。

[Foundation.Export("startPedometerUpdatesFromDate:withHandler:")]
public virtual void StartPedometerUpdates (Foundation.NSDate start, Action<CoreMotion.CMPedometerData,Foundation.NSError> handler);
abstract member StartPedometerUpdates : Foundation.NSDate * Action<CoreMotion.CMPedometerData, Foundation.NSError> -> unit
override this.StartPedometerUpdates : Foundation.NSDate * Action<CoreMotion.CMPedometerData, Foundation.NSError> -> unit

參數

start
NSDate
屬性

適用於