HKHealthStore.SaveObject(HKObject, Action<Boolean,NSError>) Método

Definición

obj Guarda y ejecuta completion cuando haya terminado.

[Foundation.Export("saveObject:withCompletion:")]
public virtual void SaveObject (HealthKit.HKObject obj, Action<bool,Foundation.NSError> completion);
abstract member SaveObject : HealthKit.HKObject * Action<bool, Foundation.NSError> -> unit
override this.SaveObject : HealthKit.HKObject * Action<bool, Foundation.NSError> -> unit

Parámetros

obj
HKObject
completion
Action<Boolean,NSError>

Controlador que se va a ejecutar cuando se completa la operación.

Atributos

Se aplica a