Send the mobile phone volume to ble
Function table: setSetPhoneVoice
Example
Swift
let param = IDOBleVoiceParamModel(...)
Cmds.setBleVoice(param).send { rs in
if case .success(let obj) = rs {
// Success
// obj is IDOCmdSetResponseModel
}else {
// failed
}
}
Kotlin
val param = IDOBleVoiceParamModel(...)
Cmds.setBle Voice(param).send {
if (it.error.code == 0) {
// Success
// it.res is IDOCmdSetResponseModel
}else {
// Failure
}
}