feat: implement Haptika PPG and Watch V1
This commit is contained in:
Generated
+34
@@ -0,0 +1,34 @@
|
||||
///
|
||||
/// NativeCardiacMirrorHeartbeat.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 `NativeCardiacMirrorHeartbeat`, backed by a C++ struct.
|
||||
*/
|
||||
public typealias NativeCardiacMirrorHeartbeat = margelo.nitro.haptika.ppg.NativeCardiacMirrorHeartbeat
|
||||
|
||||
public extension NativeCardiacMirrorHeartbeat {
|
||||
private typealias bridge = margelo.nitro.haptika.ppg.bridge.swift
|
||||
|
||||
/**
|
||||
* Create a new instance of `NativeCardiacMirrorHeartbeat`.
|
||||
*/
|
||||
init(timestampSeconds: Double, bpm: Double) {
|
||||
self.init(timestampSeconds, bpm)
|
||||
}
|
||||
|
||||
@inline(__always)
|
||||
var timestampSeconds: Double {
|
||||
return self.__timestampSeconds
|
||||
}
|
||||
|
||||
@inline(__always)
|
||||
var bpm: Double {
|
||||
return self.__bpm
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user