Edytuj

Udostępnij za pośrednictwem


HKHealthStore.SaveObjectsAsync(HKObject[]) Method

Definition

Saves the objects that are contained in objects and runs completion when finished.

public virtual System.Threading.Tasks.Task<Tuple<bool,Foundation.NSError>> SaveObjectsAsync (HealthKit.HKObject[] objects);
abstract member SaveObjectsAsync : HealthKit.HKObject[] -> System.Threading.Tasks.Task<bool * Foundation.NSError>
override this.SaveObjectsAsync : HealthKit.HKObject[] -> System.Threading.Tasks.Task<bool * Foundation.NSError>

Parameters

objects
HKObject[]

Returns

A task that represents the asynchronous SaveObjects operation. The value of the TResult parameter is of type System.Action<System.Boolean,Foundation.NSError>.

Applies to