Global Variable

HKMetadataKeySexualActivityProtectionUsed

A key that indicates whether protection was used during sexual activity. This metadata key can be used with HKCategoryTypeIdentifierSexualActivity category samples.

Declaration

NSString *const HKMetadataKeySexualActivityProtectionUsed;

Discussion

Set this key’s value to YES if protection was used during sexual activity; otherwise, set it to NO.

See Also

Reproductive Health Keys

HKMetadataKeyMenstrualCycleStart

A key that indicates whether the sample represents the start of a menstrual cycle. This metadata key is required for HKCategoryTypeIdentifierMenstrualFlow category samples.