Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package io.appium.java_client.android;
 
 
 public interface HasNetworkConnection {

Get the current network settings of the device.

Returns:
NetworkConnectionSetting objects will let you inspect the status of AirplaneMode, Wifi, Data connections
Set the network connection of the device. This is an Android-only method

Parameters:
connection The NetworkConnectionSetting configuration to use for the device
New to GrepCode? Check out our FAQ X