public class FenceDetails
Contains information about the distance and location of the closest point of the fence.
Modifier and Type | Method and Description |
---|---|
com.tomtom.online.sdk.common.location.LatLng |
getClosestPoint()
The closest point on the fence to a geofenced object's position.
|
java.lang.Double |
getDistance()
The distance in meters from a fence to the geofenced object. The value can be negative if the object is inside a fence.
|
Entity |
getFence()
Fence basic parameters (ID and name).
|
java.lang.String |
getProperties()
User-defined properties in JSON format.
|
java.lang.String |
toString() |
public Entity getFence()
Fence basic parameters (ID and name).
public java.lang.String getProperties()
User-defined properties in JSON format.
public java.lang.Double getDistance()
The distance in meters from a fence to the geofenced object. The value can be negative if the object is inside a fence.
public com.tomtom.online.sdk.common.location.LatLng getClosestPoint()
The closest point on the fence to a geofenced object's position.
public java.lang.String toString()