PolarDerivedMeasurementSettingsGroup
public struct PolarDerivedMeasurementSettingsGroup : Sendable
Available settings for one Derived Measurement Settings Group returned by the device.
Obtain an instance by calling PolarDerivedMeasurementApi.requestDerivedMeasurementSettingsGroup.
Parameters
groupId
|
the Derived Measurement Settings Group ID advertised by the device |
sourceTypes
|
the source measurement data types supported by this group |
sourceSampleRates
|
the source measurement sample rates (Hz) available in this group |
timeWindowOptions
|
the derived measurement time window durations (ms) available in this group. The time window defines the output cadence: e.g. 1000 ms → 1 Hz derived output. |
supportedMethods
|
the derived measurement methods supported in this group.
Any non-empty subset of |
-
Undocumented
Declaration
Swift
public let groupId: Int -
Undocumented
Declaration
Swift
public let sourceTypes: Set<PolarDeviceDataType> -
Undocumented
Declaration
Swift
public let sourceSampleRates: Set<Int> -
Undocumented
Declaration
Swift
public let timeWindowOptions: Set<Int> -
Undocumented
Declaration
Swift
public let supportedMethods: Set<PolarDerivedMeasurementMethod> -
Undocumented
Declaration
Swift
public init(groupId: Int, sourceTypes: Set<PolarDeviceDataType>, sourceSampleRates: Set<Int>, timeWindowOptions: Set<Int>, supportedMethods: Set<PolarDerivedMeasurementMethod>)