CMPedometer.StartPedometerUpdatesAsync(NSDate) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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>.