HKHealthStore.DeleteObjects Metodo

Definizione

Overload

DeleteObjects(HKObject[], Action<Boolean,NSError>)

Elimina l'oggetto specificato objects dall'archivio ed esegue un gestore di completamento al termine.

DeleteObjects(HKObjectType, NSPredicate, Action<Boolean,nuint,NSError>)

Elimina gli oggetti corrispondenti all'oggetto specificato objectType e predicate dall'archivio ed esegue un gestore di completamento al termine.

DeleteObjects(HKObject[], Action<Boolean,NSError>)

Elimina l'oggetto specificato objects dall'archivio ed esegue un gestore di completamento al termine.

[Foundation.Export("deleteObjects:withCompletion:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void DeleteObjects (HealthKit.HKObject[] objects, Action<bool,Foundation.NSError> completion);
abstract member DeleteObjects : HealthKit.HKObject[] * Action<bool, Foundation.NSError> -> unit
override this.DeleteObjects : HealthKit.HKObject[] * Action<bool, Foundation.NSError> -> unit

Parametri

objects
HKObject[]
completion
Action<Boolean,NSError>

Gestore da eseguire al termine dell'operazione.

Attributi

Si applica a

DeleteObjects(HKObjectType, NSPredicate, Action<Boolean,nuint,NSError>)

Elimina gli oggetti corrispondenti all'oggetto specificato objectType e predicate dall'archivio ed esegue un gestore di completamento al termine.

[Foundation.Export("deleteObjectsOfType:predicate:withCompletion:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void DeleteObjects (HealthKit.HKObjectType objectType, Foundation.NSPredicate predicate, Action<bool,nuint,Foundation.NSError> completion);
abstract member DeleteObjects : HealthKit.HKObjectType * Foundation.NSPredicate * Action<bool, nuint, Foundation.NSError> -> unit
override this.DeleteObjects : HealthKit.HKObjectType * Foundation.NSPredicate * Action<bool, nuint, Foundation.NSError> -> unit

Parametri

objectType
HKObjectType
predicate
NSPredicate
completion

Action<Boolean,System.System.UIntPtr,NSError>

Action<Boolean,System.unativeint,NSError>

Gestore da eseguire al termine dell'operazione.

Attributi

Si applica a