SensorInformation
public struct SensorInformation
Provides detailed information about available sensors.
-
An array of sensors that are available on this wearable device.
Declaration
Swift
public var availableSensors: [SensorType] { get }
-
The range of scaled values for the specified sensor. Used in conjunction with the
rawValueRange
to convert incoming sensor values from integral values to floating-point values.Declaration
Swift
public func scaledValueRange(for sensor: SensorType) -> Range<Int16>?
-
The range of raw values for the specified sensor. Used in conjunction with the
scaledValueRange
to convert incoming sensor values from integral values to floating-point values.Declaration
Swift
public func rawValueRange(for sensor: SensorType) -> Range<Int16>?
-
Identifies which sample periods are available for use with the specified sensor.
Declaration
Swift
public func availableSamplePeriods(for sensor: SensorType) -> Set<SamplePeriod>
-
Identifies which sample periods are available for use with all available sensors
Declaration
Swift
public var availableSamplePeriods: [SamplePeriod] { get }
-
Declaration
Swift
public var debugDescription: String { get }