docs: int getCurrentDevicePriority() {
          if (mIODevice == null)
          {
              return -1;
          }
          for (PriorityIoDeviceTuple tuple : mCompatibleDevices)
          {
              if (tuple.getIoDevice().equals(mIODevice))
              {
                  return tuple.getPriority();
              }
          }
          return -1;
      }