Share via


CMPedometer.StartPedometerEventUpdatesAsync Method

Definition

Starts handling updates to pedestrian data.

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual System.Threading.Tasks.Task<CoreMotion.CMPedometerEvent> StartPedometerEventUpdatesAsync();
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member StartPedometerEventUpdatesAsync : unit -> System.Threading.Tasks.Task<CoreMotion.CMPedometerEvent>
override this.StartPedometerEventUpdatesAsync : unit -> System.Threading.Tasks.Task<CoreMotion.CMPedometerEvent>

Returns

A task that represents the asynchronous StartPedometerEventUpdates operation. The value of the TResult parameter is of type System.Action<CoreMotion.CMPedometerEvent,Foundation.NSError>.

Attributes

Remarks

The StartPedometerEventUpdatesAsync method is suitable to be used with C# async by returning control to the caller with a Task representing the operation.

To be added.

Applies to