discard
TypeScriptdiscard(): voidSwift declarationfunc discard()class · iOS 12.0+ · SDK 27.1
class HKQuantitySeriesSampleBuilderdiscard(): voidSwift declarationfunc discard()finishSeriesMetadataCompletion(metadata: (Record<string, unknown>) | null, completion: ((arg0: (Array<HKQuantitySample>) | null, arg1: (NativeError) | null) => void)): voidSwift declarationfunc finishSeries(metadata: [String : Any]?) async throws -> [HKQuantitySample]finishSeriesMetadataEndDateCompletion(metadata: (Record<string, unknown>) | null, endDate: (globalThis.Date) | null, completion: ((arg0: (Array<HKQuantitySample>) | null, arg1: (NativeError) | null) => void)): voidSwift declarationfunc finishSeries(metadata: [String : Any]?, endDate: Date?) async throws -> [HKQuantitySample]static init(healthStore: HKHealthStore, quantityType: HKQuantityType, startDate: globalThis.Date, device?: (HKDevice) | null): HKQuantitySeriesSampleBuilderSwift declarationinit(healthStore: HKHealthStore, quantityType: HKQuantityType, startDate: Date, device: HKDevice?)insertAt(quantity: HKQuantity, date: globalThis.Date): voidSwift declarationfunc insert(_ quantity: HKQuantity, at date: Date) throwsinsertFor(quantity: HKQuantity, dateInterval: _Foundation_DateInterval): voidSwift declarationfunc insert(_ quantity: HKQuantity, for dateInterval: DateInterval) throwsget device(): (HKDevice) | nullSwift declaration@NSCopying var device: HKDevice? { get }get quantityType(): HKQuantityTypeSwift declaration@NSCopying var quantityType: HKQuantityType { get }get startDate(): globalThis.DateSwift declarationvar startDate: Date { get }1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
HKQuantitySeriesSampleBuilder.init()
inherited init: cannot prove legal (class declares 1 custom initializer)