Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 public interface HasNetworkConnection {

Get the current network settings of the device.

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

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