One Logo Pool Ball
HealthKit · IOS API REFERENCE

HKContactsPrescription

class · iOS 16.0+ · SDK 27.1

class HKContactsPrescription

Members (4)

init · iOS 16.0+

init

TypeScript
static 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 declaration
convenience init(rightEyeSpecification: HKContactsLensSpecification?, leftEyeSpecification: HKContactsLensSpecification?, brand: String, dateIssued: Date, expirationDate: Date?, device: HKDevice?, metadata: [String : Any]?)
get · iOS 16.0+

brand

TypeScript
get brand(): string
Swift declaration
var brand: String { get }
get · iOS 16.0+

leftEye

TypeScript
get leftEye(): (HKContactsLensSpecification) | null
Swift declaration
@NSCopying var leftEye: HKContactsLensSpecification? { get }
get · iOS 16.0+

rightEye

TypeScript
get 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 →