ReferenceMetric

public enum ReferenceMetric: String

Represents the metrics that can be used to determine the best test of a test session.

  • pef

    Peak flow.

    Declaration

    Swift

    case pef = "PEF"
  • Forced expiratory volume during first second

    Declaration

    Swift

    case fev1 = "FEV1"
  • The display unit for the respective metric.

    Declaration

    Swift

    public var unit: String
  • Formats the value for display purposes.

    Declaration

    Swift

    public func formattedString(forValue value: Double, includeUnit: Bool) -> String