Creates a new heartbeat series query.
- iOS 13.0+
- Mac Catalyst 13.0+
- watchOS 6.0+
The series sample containing the heartbeat data.
The handler called by the query. The handler takes the following parameters:
The query that returned the heartbeat data.
Since Series Start
The time of the heartbeat, measured from the series builder’s start date. This must be a positive value.
A Boolean value that indicates whether this heartbeat was immediately preceded by a gap in the data, indicating that one or more heartbeats may be missing.
A Boolean value that indicates whether the query is complete.
If an error occurred, this contains an object that describes the error; otherwise,
The system calls the
data once for each heartbeat until either the
done parameter is
true, or you call