class FenceDetails
Contains information about the distance and location of the closest point of the fence.
fence
- Fence basic parameters (ID and name).
properties
- User-defined properties in JSON format.
distance
- The distance in meters from a fence to the geofenced object. The value can be negative if the object is inside a fence.
closestPoint
- The closest point on the fence to a geofenced object's position.
FenceDetails(fence: Entity, properties: String, distance: Double, closestPoint: LatLng)
Contains information about the distance and location of the closest point of the fence. |
val closestPoint: LatLng
The closest point on the fence to a geofenced object's position. |
|
val distance: Double
The distance in meters from a fence to the geofenced object. The value can be negative if the object is inside a fence. |
|
val fence: Entity
Fence basic parameters (ID and name). |
|
val properties: String
User-defined properties in JSON format. |