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

HealthKit.FitzpatrickSkinType

Queries skin type.

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

Parameters

none

Result

Returns value or error.

Description

Queries skin type.
Returns an object encapsulating the user's Fitzpatrick skin type.
Before calling this method, the application should request authorization to access objects with the FitzpatrickSkinType type.

This represents the skin type of an individual based on the Fitzpatrick scale.
The Fitzpatrick scale is a numerical classification for skin color based on the skin's response to sun exposure in terms of the degree of burning and tanning.

I Pale white skin that always burns easily in the sun and never tans.
II White skin that burns easily and tans minimally.
III White to light brown skin that burns moderately and tans uniformly.
IV Beige-olive, lightly tanned skin that burns minimally and tans moderately.
V Brown skin that rarely burns and tans profusely.
VI Dark brown to black skin that never burns and tans profusely.

Examples

Show skin type:

Show Custom Dialog [ "Skin Type" ; MBS( "HealthKit.FitzpatrickSkinType" ) ]

This function is free to use.

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


HealthKit.DateOfBirthComponents - HealthKit.RequestAuthorizationToShareTypes