Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

HealthKit.BiologicalSex

Queries the user's biological sex.

Component Version macOS Windows Linux Server iOS SDK
HealthKit 8.2 ❌ No ❌ No ❌ No ❌ No ✅ Yes
MBS( "HealthKit.BiologicalSex" )

Parameters

none

Result

Returns sex value or error.

Description

Queries the user's biological sex.
Before calling this function, the application should request authorization to access objects with the BiologicalSex type.
Returns error message, NotSet, Female, Male or Other.

Examples

Show sex:

Show Custom Dialog [ "Biological Sex" ; MBS( "HealthKit.BiologicalSex" ) ]

This function is free to use.

Created 25th April 2018, last changed 25th April 2018


HealthKit.AuthorizationStatusForType - HealthKit.BloodType