Interface HasNetworkConnection

    • Method Detail

      • setConnection

        default ConnectionState setConnection​(ConnectionState connection)
        Set the network connection of the device.
        Parameters:
        connection - The bitmask of the desired connection
        Returns:
        Connection object, which represents the resulting state
      • getConnection

        default ConnectionState getConnection()
        Get the current network settings of the device.
        Returns:
        Connection object, which lets you to inspect the current status