共用方式為


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

傳回

屬性

適用於