Get find phone switch
Function table: supportGetFindPhoneSwitch (protocol JSON key: support_get_find_phone_switch)
Examples
Swift
Cmds.getFindPhoneSwitch().send { rs in
if case .success(let obj) = rs {
// success, obj is IDOFindPhoneSwitchModel, obj.onOff
} else {
// failure
}
}
Kotlin
Cmds.getFindPhoneSwitch().send {
if (it.error.code == 0) {
// success, it.res is IDOFindPhoneSwitchModel, it.res.onOff
} else {
// failure
}
}