changeShowTime method
Implementation
Future<bool> changeShowTime(int value, {int timeout = 5}) async {
if (value == null) {
return false;
}
bool ret = await writeCgi("set_misc.cgi?osdenable=$value&");
if (ret == true) {
CommandResult result = await waitCommandResult((cmd, data) {
return true;
}, timeout);
if (result.isSuccess) {
osdEnable = value;
}
return result.isSuccess;
}
return false;
}