Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
HealthKit.isHealthDataAvailable
Checks whether health data is available.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| HealthKit | 8.2 | No | No | No | No | Yes |
Parameters
none
Result
Returns 1, 0 or error.
Description
Checks whether health data is available.Returns 1 if HealthKit is supported on the device.
HealthKit is not supported on all iOS devices. Call isHealthDataAvailable before attempting to use other parts of the framework.
Please ask for a plugin with HealthKit included. We often ship without this feature as you can only use it in apps which opt-in for HealthKit.
Examples
Check status:
Show Custom Dialog [ "Health available" ; Let ( [ r = Let ( [ r = MBS( "HealthKit.isHealthDataAvailable" ); text = Case ( r = 1 ; "yes"; r = 0 ; "no" ; r )]; text)]
Created 25th April 2018, last changed 30th March 2019
HealthKit.WheelchairUse - HotKey.GetEnabled
Feedback: Report problem or ask question.
Links
MBS Xojo Chart Plugins