Enumerations

The following enumerations are available globally.

  • The NetworkError enum describes domain specific errors for the Network class.

    See more

    Declaration

    Swift

    public enum NetworkError: Error
  • The DecodingError enum describes the types of errors that can occur while decoding.

    See more

    Declaration

    Swift

    public enum DecodingError: Error
  • Represents the method used to determine the result (best test) of a test session.

    See more

    Declaration

    Swift

    public enum BestTestChoice: String
  • Represents the Peak Flow measurement zones that doctors use when developing an asthma management plan.

    See more

    Declaration

    Swift

    public enum LungFunctionZone: String
  • Represents the various zones of a patient’s respiratory state.

    See more

    Declaration

    Swift

    public enum RespiratoryState: String
  • Represents the metrics that can be used to determine the best test of a test session.

    See more

    Declaration

    Swift

    public enum ReferenceMetric: String
  • The options for the biological sex of the patient.

    See more

    Declaration

    Swift

    public enum BiologlicalSex: String
  • The options for the ethnicity of the patient.

    See more

    Declaration

    Swift

    public enum Ethnicity: String
  • The ClientError enum describes domain specific errors for the Client class.

    See more

    Declaration

    Swift

    public enum ClientError: Error
  • The TestStatus enum describes the various states an individual lung function test can be in.

    See more

    Declaration

    Swift

    public enum TestStatus: String