SensorValue
public struct SensorValue
An individual sensor reading received from a wearable device.
-
The sensor that generated this reading.
Declaration
Swift
public var sensor: SensorType
-
The wearable device’s timestamp indicating when this reading was generated.
Declaration
Swift
public var timestamp: SensorTimestamp
-
The actual IMU sample for this reading.
Declaration
Swift
public var sample: SensorSample
-
Creates a new sensor value.
Declaration
Swift
public init(sensor: SensorType, timestamp: SensorTimestamp, sample: SensorSample)
-
Declaration
Swift
public var debugDescription: String { get }