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

适用于