public interface HasNetworkConnection
Modifier and Type | Method and Description |
---|---|
Connection |
getConnection()
Get the current network settings of the device.
|
NetworkConnectionSetting |
getNetworkConnection()
Deprecated.
|
void |
setConnection(Connection connection)
Set the network connection of the device.
|
void |
setNetworkConnection(NetworkConnectionSetting connection)
Deprecated.
|
@Deprecated NetworkConnectionSetting getNetworkConnection()
getConnection()
instead.@Deprecated void setNetworkConnection(NetworkConnectionSetting connection)
setConnection(Connection)
instead.connection
- The NetworkConnectionSetting configuration to use for the devicevoid setConnection(Connection connection)
connection
- The bitmask of the desired connectionConnection getConnection()
Copyright © 2016. All rights reserved.