Added KMZ without photos, photo details to export picker.

This commit is contained in:
Nathan Hearnsberger
2020-01-06 22:00:41 -05:00
committed by Dennis Guse
parent bbb2f874ee
commit 79f5ed4dc3
3 changed files with 35 additions and 2 deletions
@@ -86,6 +86,11 @@ public enum TrackFileFormat {
public String getExtension() {
return "kmz";
}
@Override
public boolean includesPhotos() {
return exportPhotos;
}
},
KMZ_WITH_TRACKDETAIL {
@@ -108,6 +113,12 @@ public enum TrackFileFormat {
public String getExtension() {
return "kmz";
}
@Override
public boolean includesPhotos() {
return exportPhotos;
}
},
KMZ_WITH_TRACKDETAIL_AND_SENSORDATA {
@@ -130,6 +141,13 @@ public enum TrackFileFormat {
public String getExtension() {
return "kmz";
}
@Override
public boolean includesPhotos() {
return exportPhotos;
}
},
KMZ_WITH_TRACKDETAIL_AND_SENSORDATA_AND_PICTURES {
@@ -152,6 +170,12 @@ public enum TrackFileFormat {
public String getExtension() {
return "kmz";
}
@Override
public boolean includesPhotos() {
return exportPhotos;
}
},
GPX {
@Override
@@ -205,6 +229,11 @@ public enum TrackFileFormat {
*/
public abstract String getExtension();
/**
* Returns whether the format supports photos.
*/
public boolean includesPhotos() { return false; };
/**
* Returns the name of for each format.
*/