* Set network connection mode. * * * airplane mode * * wifi mode * * data data * * ```js * I.setNetworkConnection(0) // airplane mode off, wifi off, data off * I.setNetworkConnection(1) // airplane mode on, wifi off, data off * I.setNetworkConnection(2) // airplane mode of
(value)
| 977 | * @return {Promise<number>} |
| 978 | */ |
| 979 | async setNetworkConnection(value) { |
| 980 | onlyForApps.call(this, supportedPlatform.android) |
| 981 | return this.browser.setNetworkConnection(value) |
| 982 | } |
| 983 | |
| 984 | /** |
| 985 | * Update the current setting on the device |
no outgoing calls
no test coverage detected