편집

다음을 통해 공유


HKBiologicalSex Enum

Definition

Enumerates the biological sexes.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 2, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public enum HKBiologicalSex
type HKBiologicalSex = 
Inheritance
HKBiologicalSex
Attributes

Fields

Name Value Description
NotSet 0

The user has not recorded their sex in the gender binary.

Female 1

The female sex.

Male 2

The male sex.

Other 3

The user is not categorized as either male or female.

Applies to