HealthKit · IOS API REFERENCE
HKContactsPrescription
class · iOS 16.0+ · SDK 27.1
class HKContactsPrescription
Members (4)
init · iOS 16.0+init
TypeScriptstatic init(rightEyeSpecification: (HKContactsLensSpecification) | null, leftEyeSpecification: (HKContactsLensSpecification) | null, brand: string, dateIssued: globalThis.Date, expirationDate?: (globalThis.Date) | null, device?: (HKDevice) | null, metadata?: (Record<string, unknown>) | null): HKContactsPrescription
Swift declarationconvenience init(rightEyeSpecification: HKContactsLensSpecification?, leftEyeSpecification: HKContactsLensSpecification?, brand: String, dateIssued: Date, expirationDate: Date?, device: HKDevice?, metadata: [String : Any]?)
get · iOS 16.0+brand
TypeScriptget brand(): string
Swift declarationvar brand: String { get }
get · iOS 16.0+leftEye
TypeScriptget leftEye(): (HKContactsLensSpecification) | null
Swift declaration@NSCopying var leftEye: HKContactsLensSpecification? { get }
get · iOS 16.0+rightEye
TypeScriptget rightEye(): (HKContactsLensSpecification) | null
Swift declaration@NSCopying var rightEye: HKContactsLensSpecification? { get }
Skipped declarations
1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
HKContactsPrescription.init()
inherited init: cannot prove legal (class declares 1 custom initializer)
All HealthKit types →