Instance Method

wheelchairUse()

Reads the user’s wheelchair use from the HealthKit store.

Declaration

func wheelchairUse() throws -> HKWheelchairUseObject

Parameters

error

On input, a pointer to an error object. If an error occurs, this pointer is set to an actual error object containing information about the error. Specify nil for this parameter if you do not want to receive error information.

Return Value

An object indicating whether the user uses a wheelchair.

Discussion

If the user has not yet specified their wheelchair use, or if the user has denied your app permission to read the wheelchair use, this method returns HKWheelchairUse.notSet.

Topics

Possible Values

class HKWheelchairUseObject

his class acts as a wrapper for the HKWheelchairUse enumeration.

enum HKWheelchairUse

Constants indicating the user’s wheelchair use.

See Also

Reading Characteristic Data

func biologicalSex() -> HKBiologicalSexObject

Reads the user’s biological sex from the HealthKit store.

func bloodType() -> HKBloodTypeObject

Reads the user’s blood type from the HealthKit store.

func dateOfBirth() -> Date

Reads the user’s date of birth from the HealthKit store.

Deprecated
func dateOfBirthComponents() -> DateComponents

Reads the user’s date of birth from the HealthKit store.

func fitzpatrickSkinType() -> HKFitzpatrickSkinTypeObject

Reads the user’s Fitzpatrick Skin Type from the HealthKit store.