One Logo Pool Ball
HealthKit · IOS API REFERENCE

HKCDADocumentSample

class · iOS 10.0+ · SDK 27.1

class HKCDADocumentSample

Members (2)

init · iOS 10.0+

init

TypeScript
static init(documentData: ArrayBuffer, startDate: globalThis.Date, endDate: globalThis.Date, metadata?: (Record<string, unknown>) | null): HKCDADocumentSample
Swift declaration
convenience init(data documentData: Data, start startDate: Date, end endDate: Date, metadata: [String : Any]?) throws
get · iOS 10.0+

document

TypeScript
get document(): (HKCDADocument) | null
Swift declaration
var document: HKCDADocument? { get }

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

HKCDADocumentSample.init()

inherited init: cannot prove legal (class declares 2 custom initializers)

All HealthKit types →