CMPedometer.StartPedometerEventUpdates Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Starts handling updates to pedestrian data.
[Foundation.Export("startPedometerEventUpdatesWithHandler:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 3, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void StartPedometerEventUpdates (Action<CoreMotion.CMPedometerEvent,Foundation.NSError> handler);
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