code: public NetworkEvents setPingParameters(String host, int port, int timeoutInMs) {
      onlineChecker.setPingParameters(host, port, timeoutInMs);
      return this;
    }
docs: Sets ping parameters of the host used to check Internet connection.
  If it's not set, library will use default ping parameters.
  
  @param host host to be pinged
  @param port port of the host
  @param timeoutInMs timeout in milliseconds
  @return NetworkEvents object