-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
Geofence.Companion
-
Field Summary
Fields Modifier and Type Field Description private final String
name
private final Boolean
isInside
private final GeofenceType
type
private final GeoCircle
enclosingCircle
private String
id
private final String
eid
private final String
typeCode
private final Geometry
geometry
private final BoundingBox
boundingBox
private final Map<String, Object>
attributes
private final Map<String, Object>
extraData
private final Location
location
-
Method Summary
Modifier and Type Method Description final String
getName()
Get the name of the rule final Boolean
getIsInside()
Get if geofence isInside final GeofenceType
getType()
Get the type of the geofence , LEVEL or GLOBAL final GeoCircle
getEnclosingCircle()
The enclosing circle of this Geofence. final String
getId()
final Unit
setId(String id)
final String
getEid()
final String
getTypeCode()
final Geometry
getGeometry()
final BoundingBox
getBoundingBox()
final Map<String, Object>
getAttributes()
final Map<String, Object>
getExtraData()
final Location
getLocation()
final Boolean
contains(GeoPoint point)
-
-
Method Detail
-
getIsInside
final Boolean getIsInside()
Get if geofence isInside
-
getType
final GeofenceType getType()
Get the type of the geofence , LEVEL or GLOBAL
-
getEnclosingCircle
final GeoCircle getEnclosingCircle()
The enclosing circle of this Geofence. With Latitude, Longitude of the center point, and the Radius
-
getId
final String getId()
String GUID value representing internal identifier. Corresponds to
fid
property of Feature returned from POI API
-
getTypeCode
final String getTypeCode()
-
getGeometry
final Geometry getGeometry()
-
getBoundingBox
final BoundingBox getBoundingBox()
-
getAttributes
final Map<String, Object> getAttributes()
-
getExtraData
final Map<String, Object> getExtraData()
-
getLocation
final Location getLocation()
-
-
-
-