de.westnordost.osmapi.traces.GpsTraceDetails Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of osmapi-traces Show documentation
Show all versions of osmapi-traces Show documentation
Uploads all artifacts belonging to configuration ':libs:traces:archives'
The newest version!
package de.westnordost.osmapi.traces;
import java.io.Serializable;
import java.time.Instant;
import java.util.List;
import de.westnordost.osmapi.map.data.LatLon;
/** Details aka meta informations for a GPS, so not the actual trace */
public class GpsTraceDetails implements Serializable
{
private static final long serialVersionUID = 2L;
/** See http://wiki.openstreetmap.org/wiki/Visibility_of_GPS_traces for a more detailed description */
public enum Visibility
{
PRIVATE,
TRACKABLE,
PUBLIC,
IDENTIFIABLE
}
public long id;
public String name;
/** null until the whole trace has been imported completely by the server */
public LatLon position;
/** (current) user name of the uploader */
public String userName;
public Visibility visibility;
/** whether the server did not complete the import of the trace yet */
public boolean pending;
public Instant createdAt;
/** may be empty/null */
public String description;
/** may be empty/null */
public List tags;
}