feat: implement Haptika PPG and Watch V1
This commit is contained in:
+44
@@ -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
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user