Set to find the phone
Function table: getFindPhone
Parameter description:
Field name | Field type | Field description |
---|---|---|
open | bool | 0: Off 1: On |
Example
Swift
Cmds.setFindPhone(open: true).send { rs in
if case .success(let obj) = rs {
// Success
// obj is IDOCmdSetResponseModel
}else {
// Failure
}
}
Kotlin
Cmds.setFindPhone(open: true).send {
if (it.error.code == 0) {
// Success
// it.res is IDOCmdSetResponseModel
}else {
// Failed
}
}