Primary interface for HealthKit.
|
void | ReadHealthDocuments (Predicate predicate, int limit, bool includeData, ReceivedHealthData< List< DocumentSample >, Error > handler) |
| Read health documents.
|
|
void | ReadClinicalRecord (HKClinicalType dataType, ReceivedHealthData< List< ClinicalRecord >, Error > handler) |
| Read clinical records.
|
|
void | Awake () |
| Does basic setup for the plugin.
|
|
bool | IsHealthDataAvailable () |
| returns true if HealthKit is available on this device.
|
|
HKAuthorizationStatus | AuthorizationStatusForType (HKDataType dataType) |
| returns authorization status for a given datatype.
|
|
void | Authorize (HealthKitDataTypes types, AuthorizationHandler handler) |
| requests authorization to read the supplied data types, with a completion handler.
|
|
void | Authorize (HealthKitDataTypes types) |
| requests authorization to read the supplied data types.
|
|
void | GenerateDummyData (HealthKitDataTypes types) |
| Generates dummy data for the supplied data types. Mostly for testing in the Simulator.
|
|
void | ReadCombinedQuantitySamples (HKDataType dataType, DateTimeOffset startDate, DateTimeOffset endDate, ReceivedHealthData< double, Error > handler) |
| Read quantity samples & return the sum.
|
|
void | ReadQuantitySamples (HKDataType dataType, DateTimeOffset startDate, DateTimeOffset endDate, ReceivedHealthData< List< QuantitySample >, Error > handler) |
| Read quantity samples & return a list of QuantitySamples.
|
|
void | WriteQuantitySample (HKDataType dataType, Quantity quantity, DateTimeOffset startDate, DateTimeOffset endDate, WroteSample handler) |
| Write a quantity sample.
|
|
void | ReadCategorySamples (HKDataType dataType, DateTimeOffset startDate, DateTimeOffset endDate, ReceivedHealthData< List< CategorySample >, Error > handler) |
| Read category samples & return a list of CategorySamples.
|
|
void | WriteCategorySample (HKDataType dataType, int value, DateTimeOffset startDate, DateTimeOffset endDate, WroteSample handler) |
| Write a category sample.
|
|
void | ReadCharacteristic (HKDataType dataType, ReceivedHealthData< Characteristic, Error > handler) |
| Read a characteristic.
|
|
void | ReadCorrelationSamples (HKDataType dataType, DateTimeOffset startDate, DateTimeOffset endDate, ReceivedHealthData< List< CorrelationSample >, Error > handler) |
| Read correlation samples & return a list of CorrelationSamples.
|
|
void | ReadWorkoutSamples (WorkoutActivityType activityType, DateTimeOffset startDate, DateTimeOffset endDate, ReceivedHealthData< List< WorkoutSample >, Error > handler) |
| Read workout samples & return a list of WorkoutSamples.
|
|
void | WriteWorkoutSample (WorkoutActivityType activityType, DateTimeOffset startDate, DateTimeOffset endDate, WroteSample handler) |
| Write a workout sample.
|
|
void | WriteWorkoutSample (WorkoutActivityType activityType, DateTimeOffset startDate, DateTimeOffset endDate, Quantity calories, Quantity distance, WroteSample handler) |
| Write a workout sample.
|
|
void | BuildWorkout (WorkoutBuilder builder, WroteSample handler) |
| Write a workout session using a WorkoutBuilder.
|
|
void | AddObserverQuery (HKDataType dataType, ReceivedHealthData< List< Sample >, Error > handler) |
| Start an Observer Query.
|
|
void | StopObserverQuery (HKDataType dataType) |
| Stops an Observer Query.
|
|
void | AddObserverQueryHandler (HKDataType dataType, ReceivedHealthData< List< Sample >, Error > handler) |
| Registers a callback for an observer query.
|
|
void | BeginReadingPedometerData (DateTimeOffset startDate, ReceivedHealthData< List< PedometerData >, Error > handler) |
| start reading from the pedometer.
|
|
void | StopReadingPedometerData () |
| stop reading from the pedometer.
|
|
void | ReadCombinedQuantityStatistics (HKDataType dataType, DateTimeOffset startDate, DateTimeOffset endDate, ReceivedHealthData< HealthStatistics, Error > handler) |
| Perform a statistics query with the cumulative sum statistics option.
|
|
void | ReadStatistics (HKDataType dataType, DateTimeOffset startDate, DateTimeOffset endDate, StatisticsOptions options, ReceivedHealthData< HealthStatistics, Error > handler) |
| Perform a statistics query.
|
|
void | ReadStatisticsCollection (HKDataType dataType, Predicate predicate, StatisticsOptions options, DateTimeOffset anchorDate, TimeSpan interval, ReceivedHealthData< HealthStatisticsCollection, Error > handler) |
| Perform a statistics collection query.
|
|
void | ReadSteps (DateTimeOffset startDate, DateTimeOffset endDate, ReceivedHealthData< double, Error > handler) |
| a convenience method to read HKQuantityTypeIdentifierStepCount quantity samples
|
|
void | EnableBackgroundDelivery (HKDataType dataType, HKUpdateFrequency frequency) |
| enable background delivery for a datatype. This isn't very useful, TBH...
|
|