I am using the com.esri.arcgisruntime:arcgis-android:100.11.2 for android .
I want to check the size of offline map before downloading it. I am not able to find any method to check offline map size before downlaoding
val downloadPreplannedOfflineMapJob = offlineMapTask.generateOfflineMap(
offlineMapParameters,
myDirectory.path
).also {
// create and update a progress dialog for the job
dialog = createProgressDialog(it)
dialog?.show()
it.addProgressChangedListener {
dialog?.progressBar?.progress = it.progress
dialog?.progressTextView?.text = "${it.progress}%"
}
// start the job
it.start()
}
Hi,
Unfortunately, it is not possible to check the size before download currently.
Thanks
Rama