Share via


CMPedometer.StartPedometerEventUpdates Method

Definition

Starts handling updates to pedestrian data.

[Foundation.Export("startPedometerEventUpdatesWithHandler:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void StartPedometerEventUpdates(Action<CoreMotion.CMPedometerEvent,Foundation.NSError> handler);
[<Foundation.Export("startPedometerEventUpdatesWithHandler:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member StartPedometerEventUpdates : Action<CoreMotion.CMPedometerEvent, Foundation.NSError> -> unit
override this.StartPedometerEventUpdates : Action<CoreMotion.CMPedometerEvent, Foundation.NSError> -> unit

Parameters

handler
Action<CMPedometerEvent,NSError>

An event handler for pedometer update events.

Attributes

Applies to