code: public Configuration useDevices(@NonNull int... devices) {
          List<Integer> usableDevices = new ArrayList<>();
          for (int device : devices) {
              if (!availableDevices.contains(device)) {
                  log.warn("Non-existent device [{}] requested, ignoring...", device);
              } else {
                  if (!usableDevices.contains(device))
                      usableDevices.add(device);
              }
  
          }
  
          if (usableDevices.size() > 0) {
              availableDevices.clear();
              availableDevices.addAll(usableDevices);
          }
  
          return this;
      }
docs: This method forces specific devices to be used. All other devices present in system will be ignored.
  
  @param devices
  @return