HKHealthStore.DeleteObjectsAsync(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 the specified objects
from the store and runs a completion handler when it is finished.
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual System.Threading.Tasks.Task<Tuple<bool,Foundation.NSError>> DeleteObjectsAsync (HealthKit.HKObject[] objects);
abstract member DeleteObjectsAsync : HealthKit.HKObject[] -> System.Threading.Tasks.Task<bool * Foundation.NSError>
override this.DeleteObjectsAsync : HealthKit.HKObject[] -> System.Threading.Tasks.Task<bool * Foundation.NSError>
Parameters
- objects
- HKObject[]
Returns
A task that represents the asynchronous DeleteObjects operation. The value of the TResult parameter is of type System.Action<System.Boolean,Foundation.NSError>.
- Attributes