Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Queries sample data from the database.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
HealthKit | 8.2 | ❌ No | ❌ No | ❌ No | ❌ No | ✅ Yes |
Parameter | Description | Example | Flags |
---|---|---|---|
QuantityType | The quantity type to lookup. | "StepCount" | |
Unit | The unit to use. Can be SI unit or for example count for counters. See Apple documentation for details. |
"count" | |
StartDate | The start date for the search. | Date ( 1 ; 1 ; 2018 ) | |
EndDate | The end date for the search. | Date ( 2 ; 1 ; 2018 ) | |
SortKey | How to sort. Can be StartDate or EndDate. |
"StartDate" | Optional |
ascending | Whether to prefer ascending instead of descending. Pass 1 for ascending or 0 for descending. |
1 | Optional |
limit | The limit for search. Default 0 for no limit. |
0 | Optional |
Returns values as JSON or error.
Query step count:
Set Field [ PlaceHolder::Result ; MBS( "HealthKit.SampleQuery"; "StepCount"; "count"; Date ( 1 ; 1 ; 2018 ); Date ( 1 ; 1 ; 2019 ) ) ]
This function is free to use.
Created 25th April 2018, last changed 26th April 2018
HealthKit.RequestAuthorizationToShareTypes - HealthKit.WheelchairUse