boda_jsEnv/env_xbb_lastest_jsdom/env/NetworkInformation.js
xuxiaobo-bobo 28c0fc3999 '0218'
2023-02-18 03:07:48 +08:00

11 lines
2.1 KiB
JavaScript

// NetworkInformation对象
bodavm.memory.globalobj['NetworkInformation'] = function NetworkInformation(){return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")}
bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['NetworkInformation'], "NetworkInformation");
bodavm.memory.globalobj['NetworkInformation'].prototype.__proto__=bodavm.memory.globalobj['EventTarget'].prototype;
bodavm.memory.globalobj['NetworkInformation'].__proto__=bodavm.memory.globalobj['EventTarget'];
bodavm.toolsFunc.defineProperty('NetworkInformation', "onchange", {configurable:true, enumerable:true, get:function onchange (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['NetworkInformation'].prototype, "NetworkInformation", "onchange_get", arguments)}, set:function onchange (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['NetworkInformation'].prototype, "NetworkInformation", "onchange_set", arguments)}},'prototype');
bodavm.toolsFunc.defineProperty('NetworkInformation', "effectiveType", {configurable:true, enumerable:true, get:function effectiveType (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['NetworkInformation'].prototype, "NetworkInformation", "effectiveType_get", arguments)}, set:undefined},'prototype');
bodavm.toolsFunc.defineProperty('NetworkInformation', "rtt", {configurable:true, enumerable:true, get:function rtt (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['NetworkInformation'].prototype, "NetworkInformation", "rtt_get", arguments)}, set:undefined},'prototype');
bodavm.toolsFunc.defineProperty('NetworkInformation', "downlink", {configurable:true, enumerable:true, get:function downlink (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['NetworkInformation'].prototype, "NetworkInformation", "downlink_get", arguments)}, set:undefined},'prototype');
bodavm.toolsFunc.defineProperty('NetworkInformation', "saveData", {configurable:true, enumerable:true, get:function saveData (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['NetworkInformation'].prototype, "NetworkInformation", "saveData_get", arguments)}, set:undefined},'prototype');