Edit

Share via


CMPedometer.StartPedometerUpdatesAsync(NSDate) Method

Definition

Requests that the pedometer begin sending periodic updates to the app.

public virtual System.Threading.Tasks.Task<CoreMotion.CMPedometerData> StartPedometerUpdatesAsync (Foundation.NSDate start);
abstract member StartPedometerUpdatesAsync : Foundation.NSDate -> System.Threading.Tasks.Task<CoreMotion.CMPedometerData>
override this.StartPedometerUpdatesAsync : Foundation.NSDate -> System.Threading.Tasks.Task<CoreMotion.CMPedometerData>

Parameters

start
NSDate

Returns

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

Applies to