DataPoint
public struct DataPoint : Codable
extension MimiTestAudiogram.DataPoint: Equatable
extension MimiTestAudiogram.DataPoint: Identifiable, Hashable
An individual data point of the audiogram.
-
Frequency that was tested. Unit: Hertz (Hz).
Declaration
Swift
public let frequency: Int
-
Hearing threshold. Value within range of -10 to 120. Unit: dB HL.
Declaration
Swift
public let threshold: Double
-
Create a new
DataPoint
instance.Declaration
Swift
public init(frequency: Int, threshold: Double)
-
Declaration
Swift
public func encode(to encoder: Encoder) throws
-
Declaration
Swift
public static func == (lhs: MimiTestAudiogram.DataPoint, rhs: MimiTestAudiogram.DataPoint) -> Bool
-
Declaration
Swift
public var id: Int { get }