Classes
The following classes are available globally.
-
The
See moreSensorMonitor
class is used to monitor the connection state of the sensor. Notifies to it’s delegate whenever the sensor is connected/disconnected.Declaration
Swift
public class SensorMonitor: NSObject
-
The
See moreAmbientNoiseMonitor
class is used to monitor the ambient noise level in an environment to determine whether or not the conditions are sufficient for a lung function measurement.Declaration
Swift
public class AmbientNoiseMonitor
-
The
See moreReachabilityMonitor
class is used to monitor the network reachability. Any changes to the reachability causes a message to be sent to the delegate, indicating a change in network reachability has occurred.Declaration
Swift
public class ReachabilityMonitor
-
The
See moreTestSessionManager
class is responsible for keeping track of a test session’s state and provides an inteface to the necessary Wing API endpoints to perform a lung function test.Declaration
Swift
public class TestSessionManager
-
Undocumented
See more
-
Undocumented
-
The
See moreTestSession
struct represents a session of multiple lung function tests.Declaration
Swift
public class TestSession: Decodable
-
The
See moreTestSessionRecorder
class is used to detect and record when a user blows into the Wing sensor.Declaration
Swift
public class TestSessionRecorder
-
The
See moreClient
class acts as the interface for the Wing REST API. All Wing API Requests are routed through this class to apply the necessary authentication to the requests.Declaration
Swift
public class Client