Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 7.0   7.1   7.2   7.3   7.4   7.5   8.0   8.1   8.2   8.3    Statistic  

HealthKit.AuthorizationStatusForType

Queries authentication status for a type.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
HealthKit 8.2 No No No No Yes

MBS( "HealthKit.AuthorizationStatusForType"; Type )

Parameters

Parameter Description Example value
Type The type to check. "BiologicalSex"

Result

Returns value or error.

Description

Queries authentication status for a type.
Returns the application's authorization status for the given object type.
Value is NotDetermined, SharingDenied or SharingAuthorized.

Use HealthKit.RequestAuthorizationToShareTypes to request authentication.

Examples

Check status:

Set Variable [ $r ; Value: MBS( "HealthKit.AuthorizationStatusForType"; "BiologicalSex" ) ]
Show Custom Dialog [ "Status" ; $r ]

See also


Hash.SHA512.HMAC   -   HealthKit.BiologicalSex

Feedback: Report problem or ask question.




Links
MBS Xojo blog