Get simple heart rate zone settings

Function table:supportSimpleHrZoneSetting

Example

Swift

Cmds.getSimpleHeartRateZone().send { rs in
if case .success(let obj) = rs {
// Success
// obj is IDOSimpleHeartRateZoneSettingModel
}else {
// Failure
}
}

Kotlin

Cmds.getSimpleHeartRateZone().send {
if (it.error.code == 0) {
// Success
// it.res is IDOSimpleHeartRateZoneSettingModel
}else {
// Failure
}
}
Copyright © 2023-2024 IDO. All rights reserved. all right reserved,powered by Gitbook修改日期: 2025-05-09 17:16:23

results matching ""

    No results matching ""