CMPedometer.StartPedometerEventUpdatesAsync Method

Definition

Starts handling updates to pedestrian data.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 3, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual System.Threading.Tasks.Task<CoreMotion.CMPedometerEvent> StartPedometerEventUpdatesAsync ();
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