SensorIo
open class SensorIo : ISensorIo
The base class for sensor hardware-level IO control. Some IO classes are already defined:
- MockSensorIo: Mocks the functionality with a cached value.
Note
no sensorIo classes are defined except for the mocked version.Applications can also define their own SensorIo classes.
-
Undocumented
Declaration
Swift
public required init(parameters: Any?)
-
Undocumented
Declaration
Swift
public var parameters: Any?
-
Undocumented
Declaration
Swift
public func read(callback: ((Any) -> ()))
-
Undocumented
Declaration
Swift
public func write(value: Any)