Get HID information
Function table: None
Example
Swift
Cmds.getHidInfo().send { rs in
if case .success(let obj) = rs {
// Success
// obj is Bool
}else {
// Failure
}
}
Kotlin
Cmds.getHidInfo().send {
if (it.error.code == 0) {
// Success
// it.res is Bool
}else {
// Failure
}
}