public interface HasNetworkConnection extends ExecutesMethod
Modifier and Type | Method and Description |
---|---|
default ConnectionState |
getConnection()
Get the current network settings of the device.
|
default void |
setConnection(Connection connection)
Deprecated.
use
setConnection(ConnectionState) instead |
default ConnectionState |
setConnection(ConnectionState connection)
Set the network connection of the device.
|
execute, execute
@Deprecated default void setConnection(Connection connection)
setConnection(ConnectionState)
insteadconnection
- The bitmask of the desired connectiondefault ConnectionState setConnection(ConnectionState connection)
connection
- The bitmask of the desired connectiondefault ConnectionState getConnection()