BEHealthKit 1.11
A HealthKit plugin for Unity
Loading...
Searching...
No Matches
Instance Methods | List of all members
BEHealthKit(clinicalRecords) Category Reference

Category for reading clinical records. More...

Detailed Description

Due to the sensitive nature of clinical records, Apple is very strict about approving apps that reference the clinical record API. In light of that, this category is entirely optional, and I recommend not including it in the project at all unless you plan on utilizing it.

Instance Methods

(void) - readHealthRecords:resultsHandler:
 read clinical records
 

Method Documentation

◆ readHealthRecords:resultsHandler:

- (void) readHealthRecords: (HKSampleType *) sampleType
resultsHandler: (void(^)(id result, NSError *error)) resultsHandler 

A streamlined method to perform sample queries on clinical types.

Parameters
sampleTypethe type of sample to read.
resultsHandlerCalled when the query finishes executing. If unsuccessful, error contains information about what went wrong, otherwise it will be set to nil.