25 lines
991 B
C++
Generated
25 lines
991 B
C++
Generated
///
|
|
/// HybridHaptikaHealthKitSpec.cpp
|
|
/// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
|
|
/// https://github.com/mrousavy/nitro
|
|
/// Copyright © Marc Rousavy @ Margelo
|
|
///
|
|
|
|
#include "HybridHaptikaHealthKitSpec.hpp"
|
|
|
|
namespace margelo::nitro::haptika::ppg {
|
|
|
|
void HybridHaptikaHealthKitSpec::loadHybridMethods() {
|
|
// load base methods/properties
|
|
HybridObject::loadHybridMethods();
|
|
// load custom methods/properties
|
|
registerHybrids(this, [](Prototype& prototype) {
|
|
prototype.registerHybridMethod("isAvailable", &HybridHaptikaHealthKitSpec::isAvailable);
|
|
prototype.registerHybridMethod("requestReadAuthorization", &HybridHaptikaHealthKitSpec::requestReadAuthorization);
|
|
prototype.registerHybridMethod("fetchContext", &HybridHaptikaHealthKitSpec::fetchContext);
|
|
prototype.registerHybridMethod("fetchLatestHeartbeatSeries", &HybridHaptikaHealthKitSpec::fetchLatestHeartbeatSeries);
|
|
});
|
|
}
|
|
|
|
} // namespace margelo::nitro::haptika::ppg
|