HKHealthStore.SaveObjectAsync(HKObject) 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.
Saves obj
and runs completion
when finished.
public virtual System.Threading.Tasks.Task<Tuple<bool,Foundation.NSError>> SaveObjectAsync (HealthKit.HKObject obj);
abstract member SaveObjectAsync : HealthKit.HKObject -> System.Threading.Tasks.Task<bool * Foundation.NSError>
override this.SaveObjectAsync : HealthKit.HKObject -> System.Threading.Tasks.Task<bool * Foundation.NSError>
Parameters
- obj
- HKObject
Returns
A task that represents the asynchronous SaveObject operation. The value of the TResult parameter is of type System.Action<System.Boolean,Foundation.NSError>.