Structures
The following structures are available globally.
-
Data class representing a received device-to-host notification.
See moreDeclaration
Swift
public struct PolarD2HNotificationData : Equatable -
Contains the result information returned when starting an offline exercise session.
All methods require the SDK feature
See morePolarBleSdkFeature.FEATURE_POLAR_OFFLINE_EXERCISE_V2and the device must support thedm_exercisecapability.Declaration
Swift
public struct OfflineExerciseStartResult -
Undocumented
See moreDeclaration
Swift
public struct LedConfig -
Undocumented
See moreDeclaration
Swift
public struct LogConfig -
Undocumented
See moreDeclaration
Swift
public struct AutomaticSamples : Codable -
Available settings for one Derived Measurement Settings Group returned by the device.
Obtain an instance by calling
See morePolarDerivedMeasurementApi.requestDerivedMeasurementSettingsGroup.Declaration
Swift
public struct PolarDerivedMeasurementSettingsGroup : SendableParameters
groupIdthe Derived Measurement Settings Group ID advertised by the device
sourceTypesthe source measurement data types supported by this group
sourceSampleRatesthe source measurement sample rates (Hz) available in this group
timeWindowOptionsthe 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.
supportedMethodsthe derived measurement methods supported in this group. Any non-empty subset of
supportedMethodsmay be selected when starting a recording. -
Selected settings for starting a derived offline recording.
Any non-empty subset of the supported methods may be requested simultaneously. Each selected method appends its result values to every derived sample.
See moreDeclaration
Swift
public struct PolarDerivedMeasurementSettings : SendableParameters
groupIdDerived Measurement Settings Group ID obtained from the device
sourceMeasurementTypesource sensor data type to derive from (e.g. ACC)
sourceSampleRatesource sensor sample rate in Hz (e.g. 50)
timeWindowMsoutput cadence in milliseconds (e.g. 1000 for 1 Hz)
selectedMethodsnon-empty set of methods to apply; results are concatenated per sample
-
One derived-measurement sample produced per time window (e.g. 1 sample/s with 1 000 ms window).
methodValuesmaps each activePolarDerivedMeasurementMethodto its output values:- Component methods (DOWNSAMPLE, MIN, MAX, AVG, STD for a 3-axis source) →
[x, y, z] Scalar methods (NORM, MIN_OF_NORMS, MAX_OF_NORMS, STD_OF_NORMS, NORM_OF_STDS) →
[v]
Declaration
Swift
public struct PolarDerivedSample : SendableParameters
timeStampsample timestamp in nanoseconds, corresponds to end of the time window
activeMethodsthe set of methods active for this recording
methodValuesoutput values per active method; absent key means method was not active
- Component methods (DOWNSAMPLE, MIN, MAX, AVG, STD for a 3-axis source) →
-
Container for a list of derived ACC samples.
See moreDeclaration
Swift
public struct PolarDerivedAccData : Sendable -
Represents a log file fetched from a Polar device.
path: the file path on the device (e.g. “/ERRORLOG.BPB”)data: the raw file contents
Declaration
Swift
public struct PolarDeviceLog -
Undocumented
See moreDeclaration
Swift
public struct PolarDiskSpaceData -
Undocumented
See moreDeclaration
Swift
public struct PolarFirstTimeUseConfig -
Undocumented
See moreDeclaration
Swift
public struct PolarPhysicalConfiguration : Codable -
Undocumented
See moreDeclaration
Swift
public struct PolarOfflineRecordingProgress -
Polar offline recording entry container.
See moreDeclaration
Swift
public struct PolarOfflineRecordingEntry : Equatable -
Polar offline recording trigger
See moreDeclaration
Swift
public struct PolarOfflineRecordingTrigger -
Polar recording secret is used to encrypt the recording.
See moreDeclaration
Swift
public struct PolarRecordingSecret -
polar sensor settings class
See moreDeclaration
Swift
public struct PolarSensorSettingextension PolarSensorSetting: CustomStringConvertible -
Model for SPO2 test data retrieved from a Polar device.
See moreDeclaration
Swift
public struct PolarSpo2TestData : Encodable -
Undocumented
See moreDeclaration
Swift
public struct PolarTrainingSessionReference : Equatable -
Undocumented
See moreDeclaration
Swift
public struct PolarTrainingSession -
Undocumented
See moreDeclaration
Swift
public struct PolarExercise : Equatable -
Undocumented
See moreDeclaration
Swift
public struct PolarTrainingSessionProgress -
Undocumented
See moreDeclaration
Swift
public struct PolarUserDeviceSettingsData : Identifiable -
Watch face configuration containing the ordered list of enabled complications.
See moreDeclaration
Swift
public struct PolarWatchFaceConfig -
Undocumented
See moreDeclaration
Swift
public struct UserIdentifierType -
Undocumented
See moreDeclaration
Swift
public struct Polar247HrSamplesData : Codable -
Polar Peak-to-peak interval data
Date
date of the PPi activity data- samples: PPi samples from sensor as PolarPpiDataSample object
Declaration
Swift
public struct Polar247PPiSamplesData : Codable -
Undocumented
See moreDeclaration
Swift
public struct PolarActivityDayData : Codable -
Undocumented
See moreDeclaration
Swift
public struct PolarCaloriesData : Codable -
Undocumented
See moreDeclaration
Swift
public struct PolarDailySummary : Codable -
Undocumented
Declaration
Swift
public struct PolarActivityGoalSummary : Codable -
Undocumented
See moreDeclaration
Swift
public struct PolarActiveTimeData : Codable -
Undocumented
See moreDeclaration
Swift
public struct PolarActiveTime : Codable, Equatable -
Distance for given date.
See moreDeclaration
Swift
public struct PolarDistanceData : Codable -
Steps count for given date.
See moreDeclaration
Swift
public struct PolarStepsData : Codable -
Undocumented
See moreDeclaration
Swift
public struct PolarNightlyRechargeData : Encodable -
Lists REST API services and corresponding paths
Declaration
Swift
public struct PolarDeviceRestApiServices : Decodable -
Describes specific service API per SAGRFC95
See moreDeclaration
Swift
public struct PolarDeviceRestApiServiceDescription : Decodable -
Undocumented
See moreDeclaration
Swift
public struct PolarPlainDateextension PolarPlainDate: CustomStringConvertibleextension PolarPlainDate: ExpressibleByStringLiteralextension PolarPlainDate: Decodableextension PolarPlainDate: Encodable
Structures Reference