HKHealthStore.SaveObjectsAsync(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.
Asynchronously saves the objects that are contained in objects.
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual System.Threading.Tasks.Task<Tuple<bool,Foundation.NSError>> SaveObjectsAsync(HealthKit.HKObject[] objects);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
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>.
- Attributes