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

HealthKit.BloodType

Queries blood type.

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

Parameters

none

Result

Returns value or error.

Description

Queries blood type.
Returns an object encapsulating the user's blood type.
Before calling this method, the application should request authorization to access objects with the BloodType type.
Value can be NotSet, APositive, ANegative, BPositive, BNegative, ABPositive, ABNegative, OPositive or ONegative.

Examples

Show blood type:

Show Custom Dialog [ "Blood Type" ; MBS( "HealthKit.BloodType" ) ]

This function is free to use.

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


HealthKit.BiologicalSex - HealthKit.DateOfBirth