HKHealthStore.SaveObjectAsync(HKObject) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Enregistre obj
et s’exécute completion
lorsque vous avez terminé.
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>
Paramètres
- obj
- HKObject
Retours
Tâche qui représente l’opération SaveObject asynchrone. La valeur du paramètre TResult est de type System.Action<System.Boolean,Foundation.NSError>.