mergHKQueryResults

Typemessage
DictionaryLCS
LibraryLiveCode Script
Syntax
mergHKQueryResults <pQueryID>, <pResultA>, <pError>
Associationsmerghk
Summary

Sent to the object that initiated a query

Introduced8.0
OSios
Platformsmobile
Parameters
NameTypeDescription
pQueryID

The reference ID returned by one of the query commands

pResultA

A multi-dimensional array of found samples keyed by sample UUID. Each sample will have the following format:|identifier|start date|end date|quantity - quantity samples only|quantity units - quantity samples only|workout type - workouts only|total energy burned - workout samples only|total distance - workout samples only|metadata - An array containing metadata for the sample. Defined keys are documented here but there may be custom keys also.

pError

A localised error string in the event of an error

Description

Sent to the object that initiated a query

Tagsexternals