HKWorkoutBuilder.BeginCollectionAsync(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.
Starts the workout at the sepcified time, begins collecting workout data, and returns a task that contains a success status and any error that occurred.
public virtual System.Threading.Tasks.Task<Tuple<bool,Foundation.NSError>> BeginCollectionAsync (Foundation.NSDate startDate);
abstract member BeginCollectionAsync : Foundation.NSDate -> System.Threading.Tasks.Task<bool * Foundation.NSError>
override this.BeginCollectionAsync : Foundation.NSDate -> System.Threading.Tasks.Task<bool * Foundation.NSError>
Parameters
- startDate
- NSDate
The date and time the workout starts.
Returns
A task that contains a success status and any error that occurred.