HKHealthStore.GetBiologicalSex(NSError) 方法

定义

返回用户的生物学性别。

[Foundation.Export("biologicalSexWithError:")]
public virtual HealthKit.HKBiologicalSexObject GetBiologicalSex (out Foundation.NSError error);
abstract member GetBiologicalSex :  -> HealthKit.HKBiologicalSexObject
override this.GetBiologicalSex :  -> HealthKit.HKBiologicalSexObject

参数

error
NSError

返回

属性

适用于