removeExercise method
Api for removing single exercise from Polar H10 device. Requires polarFileTransfer
feature. This API is working for Polar OH1 and Polar Verity Sense devices too, however in those devices recording of exercise requires that sensor is registered to Polar Flow account.
- Parameters:
- identifier: Polar device id or device address
- entry: single exercise entry to be removed
- Returns: Completable stream
- complete: entry successfully removed
- onError: see
PolarErrors
for possible errors invoked
Implementation
Future<void> removeExercise(String identifier, PolarExerciseEntry entry) {
return _channel
.invokeMethod('removeExercise', [identifier, jsonEncode(entry)]);
}