Contents

HKMetadataKeySexualActivityProtectionUsed

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

Declaration

let HKMetadataKeySexualActivityProtectionUsed: String

Discussion

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