getStatus method
获取设备状态
@param cache 是否使用缓存,默认为true 使用缓存
Implementation
@override
Future<StatusResult?> getStatus({int timeout = 5, bool cache = true}) async {
StatusResult? result =
await super.getStatus(timeout: timeout, cache: cache);
if (result != null) {
await setCameraCommand(result);
}
return result;
}