Future<int> get queryOtaType async { int type = await mConnconst.invokeMethod('queryOtaType'); return type; }