Compartilhar via


CMPedometer.StartPedometerEventUpdates Método

Definição

Inicia o tratamento de atualizações para dados de pedestres.

[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>

Um manipulador de eventos para eventos de atualização de pedômetro.

Atributos

Aplica-se a