Topics
All
Mac OS X
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Guides
Examples
New in version:
7.4
7.5
8.0
8.1
8.2
8.3
8.4
8.5
9.0
9.1
Statistic
HealthKit.isHealthDataAvailable
Checks whether health data is available.
Component | Version | macOS | Windows | Server | FileMaker Cloud | FileMaker iOS SDK |
HealthKit | 8.2 | No | No | No | No | Yes |
MBS( "HealthKit.isHealthDataAvailable" ) More
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.
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 25th April 2018
HealthKit.WheelchairUse - HotKey.GetEnabled
Feedback: Report problem or ask question.
Links
MBS Xojo PDF Plugins