35 lines
854 B
Swift
Generated
35 lines
854 B
Swift
Generated
///
|
|
/// 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
|
|
}
|
|
}
|