Skip to content

Commit 11c4d17

Browse files
committed
add a deprecation notice to monitorForWorkoutSummary
1 parent 8bd7250 commit 11c4d17

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lib/models/ergometer.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ class Ergometer {
5454
}
5555

5656
/// Returns a stream of [WorkoutSummary] objects upon completion of any workout that would normally be saved to the Erg's memory. This includes any pre-programmed piece and any "just row" pieces longer than 1 minute.
57+
@Deprecated("This API is being deprecated in an upcoming version")
5758
Stream<WorkoutSummary> monitorForWorkoutSummary() {
5859

5960
var workoutSummaryCharacteristic1 = QualifiedCharacteristic(serviceId: Uuid.parse(Identifiers.C2_ROWING_PRIMARY_SERVICE_UUID), characteristicId: Uuid.parse(Identifiers.C2_ROWING_END_OF_WORKOUT_SUMMARY_CHARACTERISTIC_UUID), deviceId: _peripheral.id);

0 commit comments

Comments
 (0)