45 lines
1.0 KiB
Swift
Generated
45 lines
1.0 KiB
Swift
Generated
///
|
|
/// 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
|
|
}
|
|
}
|