CMPedometer.StartPedometerEventUpdates Método

Definición

Comienza a controlar las actualizaciones de los datos peatonales.

[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

Parámetros

handler
Action<CMPedometerEvent,NSError>

Controlador de eventos para eventos de actualización de pedometer.

Atributos

Se aplica a