Add Javadocs

This commit is contained in:
misaochan 2018-05-29 19:15:14 +10:00
parent c3e911f135
commit a082f509e7

View file

@ -30,6 +30,9 @@ import timber.log.Timber;
import static com.mapbox.mapboxsdk.Mapbox.getApplicationContext;
/**
* Processing of the image file that is about to be uploaded via ShareActivity is done here
*/
public class FileProcessor implements SimilarImageDialogFragment.onResponse{
private Uri mediaUri;
@ -126,6 +129,10 @@ public class FileProcessor implements SimilarImageDialogFragment.onResponse{
}
}
/**
* Find other images around the same location that were taken within the last 20 sec
* @param gpsEnabled True if GPS is enabled
*/
private void findOtherImages(boolean gpsEnabled) {
Timber.d("filePath"+getPathOfMediaOrCopy());
@ -175,7 +182,6 @@ public class FileProcessor implements SimilarImageDialogFragment.onResponse{
haveCheckedForOtherImages = true; //Finished checking for other images
}
/**
* Initiates retrieval of image coordinates or user coordinates, and caching of coordinates.
* Then initiates the calls to MediaWiki API through an instance of CategoryApi.