public class GeofenceMarkerData extends Marker.MarkerData
Modifier and Type | Class and Description |
---|---|
static class |
GeofenceMarkerData.Geofence
Circular geofence and its data
|
Modifier and Type | Method and Description |
---|---|
static GeofenceMarkerData |
forCircularGeofence(String geofenceId,
List<Double> coordinates,
Integer radius,
String arrivedAt,
String exitedAt,
String metadataInternal,
Integer duration,
MarkerRoute markerRoute,
Location arrivalLocation,
Location exitLocation) |
static GeofenceMarkerData |
forPolygonGeofence(String geofenceId,
List<List<Double>> vertices,
String arrivedAt,
String exitedAt,
String metadataInternal,
Integer duration,
MarkerRoute markerRoute,
Location arrivalLocation,
Location exitLocation) |
Location |
getArrival() |
Integer |
getDuration() |
Location |
getExit() |
Double |
getGeofenceCenterLatitude() |
Double |
getGeofenceCenterLongitude() |
Date |
getGeofenceEnterDate() |
String |
getGeofenceEnterTimestamp() |
Date |
getGeofenceExitDate() |
String |
getGeofenceExitTimestamp() |
String |
getGeofenceId() |
String |
getGeofenceMetadata() |
Integer |
getGeofenceRadius() |
MarkerRoute |
getRouteTo() |
List<Trip.Point2D> |
polyline() |
public static GeofenceMarkerData forCircularGeofence(String geofenceId, List<Double> coordinates, Integer radius, String arrivedAt, String exitedAt, String metadataInternal, Integer duration, MarkerRoute markerRoute, Location arrivalLocation, Location exitLocation)
public static GeofenceMarkerData forPolygonGeofence(String geofenceId, List<List<Double>> vertices, String arrivedAt, String exitedAt, String metadataInternal, Integer duration, MarkerRoute markerRoute, Location arrivalLocation, Location exitLocation)
public Integer getDuration()
public MarkerRoute getRouteTo()
public Location getArrival()
public Location getExit()
public Double getGeofenceCenterLatitude()
Location.getLatitude()
public Double getGeofenceCenterLongitude()
Location.getLongitude()
public String getGeofenceId()
public Integer getGeofenceRadius()
public List<Trip.Point2D> polyline()
public String getGeofenceEnterTimestamp()
getGeofenceRadius()
,
getGeofenceEnterDate()
public Date getGeofenceEnterDate()
getGeofenceEnterTimestamp()
,
getGeofenceRadius()
public String getGeofenceExitTimestamp()
getGeofenceExitDate()
,
getGeofenceRadius()
public Date getGeofenceExitDate()
getGeofenceRadius()
,
getGeofenceExitTimestamp()
public String getGeofenceMetadata()