Share via


CMPedometer.StartPedometerUpdatesAsync(NSDate) Method

Definition

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

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual System.Threading.Tasks.Task<CoreMotion.CMPedometerData> StartPedometerUpdatesAsync(Foundation.NSDate start);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
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>.

Attributes

Applies to