OfflineExerciseStartResult
public struct OfflineExerciseStartResult
Contains the result information returned when starting an offline exercise session.
All methods require the SDK feature
PolarBleSdkFeature.FEATURE_POLAR_OFFLINE_EXERCISE_V2
and the device must support the dm_exercise capability.
-
Result type returned by the device.
Declaration
Swift
public let result: OfflineExerciseStartResultType -
Directory path created for the exercise on the device. This path can later be used to list and fetch exercise files.
Declaration
Swift
public let directoryPath: String -
Creates a new start result container.
Declaration
Swift
public init( result: OfflineExerciseStartResultType, directoryPath: String )Parameters
resultThe result type returned by the device.
directoryPathThe directory path created for the exercise.