HKHealthStore.DeleteObjectAsync(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.
Deletes and object from the store and runs an action after it has been deleted.
public virtual System.Threading.Tasks.Task<Tuple<bool,Foundation.NSError>> DeleteObjectAsync (HealthKit.HKObject obj);
abstract member DeleteObjectAsync : HealthKit.HKObject -> System.Threading.Tasks.Task<bool * Foundation.NSError>
override this.DeleteObjectAsync : HealthKit.HKObject -> System.Threading.Tasks.Task<bool * Foundation.NSError>
Parameters
- obj
- HKObject
Returns
A task that represents the asynchronous DeleteObject operation. The value of the TResult parameter is of type System.Action<System.Boolean,Foundation.NSError>.