Melon 2 жил өмнө
parent
commit
e4387fb8de

+ 9 - 0
lib/services/platform.dart

@@ -171,6 +171,15 @@ class PlatformService extends JsonRpcClientBase {
         "OpenLiveConsultation", [consultationCode, isJoin, pageIndex, token]);
   }
 
+  /// 打开设备直播 独立窗口
+  ///
+  /// [deviceCode] 设备编码
+  ///
+  /// [token] 登录令牌
+  Future<void> openDeviceLiveWindow(String deviceCode, String token) {
+    return call("OpenDeviceLiveWindow", [deviceCode, token]);
+  }
+
   ///获取屏幕个数
   Future<int> getWindowsNum() async {
     var rpcRst = await call("GetWindowsNum");