Share via


CMPedometer.StartPedometerUpdates Method

Definition

Requests that the pedometer begin sending periodic updates to the app.

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

Parameters

start
NSDate
Attributes

Applies to