"use strict";function getNetworkType$(e){return ddSdk_1.ddSdk.invokeAPI(actualCallApiName,e)}var _a;Object.defineProperty(exports,"__esModule",{value:!0}),exports.getNetworkType$=void 0;var apiHelper_1=require("./../../lib/apiHelper"),ddSdk_1=require("../../lib/ddSdk"),apiName="getNetworkType",actualCallApiName="device.connection.getNetworkType";ddSdk_1.ddSdk.setAPI(actualCallApiName,(_a={},_a[ddSdk_1.ENV_ENUM.ios]={vs:"6.0.0",resultDeal:apiHelper_1.getNetWorkTypeResultDeal},_a[ddSdk_1.ENV_ENUM.android]={vs:"6.0.0",resultDeal:apiHelper_1.getNetWorkTypeResultDeal},_a[ddSdk_1.ENV_ENUM.pc]={vs:"6.5.60",resultDeal:function(e){return"none"!==e.result&&"unknown"!==e.result?{netWorkAvailable:!0}:{netWorkAvailable:!1}}},_a[ddSdk_1.ENV_ENUM.harmony]={vs:"7.0.0",resultDeal:apiHelper_1.getNetWorkTypeResultDeal},_a)),exports.getNetworkType$=getNetworkType$,exports.default=getNetworkType$;