@dolphinweex/weex-harmony-transform 0.1.42 → 0.1.44
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/adapter.js +14 -3
package/package.json
CHANGED
package/src/adapter.js
CHANGED
|
@@ -313,7 +313,10 @@ let bridgeModule = {
|
|
|
313
313
|
},
|
|
314
314
|
checkDeviceOTAUpdate:function(options, callback){
|
|
315
315
|
weexModule.callNative(`bridgeModule.checkDeviceOTAUpdate`,{ 'options': options }, callback, undefined, failCallback);
|
|
316
|
-
}
|
|
316
|
+
},
|
|
317
|
+
checkInstalledThirdPlatform:function(options, callback){
|
|
318
|
+
weexModule.callNative(`bridgeModule.checkInstalledThirdPlatform`,{ 'options': options }, callback, undefined, failCallback);
|
|
319
|
+
},
|
|
317
320
|
}
|
|
318
321
|
|
|
319
322
|
let aiSpeechModule = {
|
|
@@ -475,7 +478,10 @@ let iotLinkVideoModule = {
|
|
|
475
478
|
},
|
|
476
479
|
// 截取当前视频画面并保存到指定目录
|
|
477
480
|
captureImage: function(options, callback, failCallback) {
|
|
478
|
-
|
|
481
|
+
if(options.refId){
|
|
482
|
+
options.refId.captureImage(options, callback, failCallback)
|
|
483
|
+
}
|
|
484
|
+
// weexModule.callNative('iotLinkVideoModule.captureImage', { 'options': options }, callback, undefined, failCallback)
|
|
479
485
|
},
|
|
480
486
|
// 根据deviceName获取播放链接
|
|
481
487
|
getUrlForHttpFlv: function(options, callback, failCallback) {
|
|
@@ -532,7 +538,9 @@ let ipcLiveModule = {
|
|
|
532
538
|
weexModule.callNative('ipcLiveModule.changeMicrophoneStatus', { 'options': options }, callback, undefined, failCallback)
|
|
533
539
|
},
|
|
534
540
|
captureImage: function(options, callback, failCallback) {
|
|
535
|
-
|
|
541
|
+
if(options.refId){
|
|
542
|
+
options.refId.captureImage(options, callback, failCallback)
|
|
543
|
+
}
|
|
536
544
|
},
|
|
537
545
|
getUrlForHttpFlv: function(options, callback, failCallback) {
|
|
538
546
|
weexModule.callNative('ipcLiveModule.getUrlForHttpFlv', { 'options': options }, callback, undefined, failCallback)
|
|
@@ -978,6 +986,9 @@ let configCommonModule ={
|
|
|
978
986
|
searchSubDevice: function (param, callback, failCallback) {
|
|
979
987
|
weexModule.callNative('singleBlueToothModule.searchSubDevice', { 'options': param }, callback, undefined, failCallback)
|
|
980
988
|
},
|
|
989
|
+
changeDeviceWifi: function (param, callback, failCallback) {
|
|
990
|
+
weexModule.callNative('configCommonModule.changeDeviceWifi', { 'options': param }, callback, undefined, failCallback)
|
|
991
|
+
},
|
|
981
992
|
}
|
|
982
993
|
export {
|
|
983
994
|
clipboard,
|