feat: implement Haptika PPG and Watch V1

This commit is contained in:
Sacha
2026-07-31 16:19:42 +02:00
parent 6b7d4e0728
commit b9930b7378
249 changed files with 46475 additions and 122 deletions
@@ -0,0 +1,44 @@
///
/// NativeAcceptedBeat.swift
/// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
/// https://github.com/mrousavy/nitro
/// Copyright © Marc Rousavy @ Margelo
///
import NitroModules
/**
* Represents an instance of `NativeAcceptedBeat`, backed by a C++ struct.
*/
public typealias NativeAcceptedBeat = margelo.nitro.haptika.ppg.NativeAcceptedBeat
public extension NativeAcceptedBeat {
private typealias bridge = margelo.nitro.haptika.ppg.bridge.swift
/**
* Create a new instance of `NativeAcceptedBeat`.
*/
init(sequence: Double, timestampSeconds: Double, intervalMs: Double, confidence: Double) {
self.init(sequence, timestampSeconds, intervalMs, confidence)
}
@inline(__always)
var sequence: Double {
return self.__sequence
}
@inline(__always)
var timestampSeconds: Double {
return self.__timestampSeconds
}
@inline(__always)
var intervalMs: Double {
return self.__intervalMs
}
@inline(__always)
var confidence: Double {
return self.__confidence
}
}