CallbackListener<TileCacheStatus> statusCallback = new CallbackListener<TileCacheStatus>(){ public void onCallback(TileCacheStatus tcs) { for(GPMessage message : tcs.getJobResource().getMessages()){ System.out.println(message.getDescription()); System.out.println(message.getType()); } } public void onError(Throwable e) { // TODO Auto-generated method stub } };
new TileCacheTask(serviceUrl, creds).submitTileCacheJobAndDownload(params, statusCallback, downloadCallback, filename).cancel(true);
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.