public class RemoteNetworkConnection extends Object implements NetworkConnection
NetworkConnection.ConnectionType
Constructor and Description |
---|
RemoteNetworkConnection(ExecuteMethod executeMethod) |
Modifier and Type | Method and Description |
---|---|
NetworkConnection.ConnectionType |
getNetworkConnection()
Query the driver for the Airplane Mode setting state
|
NetworkConnection.ConnectionType |
setNetworkConnection(NetworkConnection.ConnectionType type)
Set the Connection type Not all connection type combinations are valid for an individual type
of device and the remote endpoint will make a best effort to set the type as requested
|
public RemoteNetworkConnection(ExecuteMethod executeMethod)
public NetworkConnection.ConnectionType getNetworkConnection()
NetworkConnection
getNetworkConnection
in interface NetworkConnection
NetworkConnection.ConnectionType
indicating if the
device is in Airplane Modepublic NetworkConnection.ConnectionType setNetworkConnection(NetworkConnection.ConnectionType type)
NetworkConnection
setNetworkConnection
in interface NetworkConnection
type
- ConnectionType of what the network connection should beNetworkConnection.ConnectionType
of what the
device's network connection isCopyright © 2015. All rights reserved.