Values.ForecastedEventSourceA forecasted event represents a geofence event in relation to the requested device state, that may occur given the provided device state and time horizon.
type nonrec t = {eventId : Uuid.t option;The forecasted event identifier.
*)geofenceId : Id.t option;The geofence identifier pertaining to the forecasted event.
*)isDeviceInGeofence : Boolean.t option;Indicates if the device is located within the geofence.
*)nearestDistance : NearestDistance.t option;The closest distance from the device's position to the geofence.
*)eventType : ForecastedGeofenceEventType.t option;The event type, forecasting three states for which a device can be in relative to a geofence: ENTER: If a device is outside of a geofence, but would breach the fence if the device is moving at its current speed within time horizon window. EXIT: If a device is inside of a geofence, but would breach the fence if the device is moving at its current speed within time horizon window. IDLE: If a device is inside of a geofence, and the device is not moving.
*)forecastedBreachTime : Timestamp.t option;The forecasted time the device will breach the geofence in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ
*)geofenceProperties : PropertyMap.t option;The geofence properties.
*)}val to_value :
t ->
[> `Structure of
(string
* [> `Boolean of Boolean.t
| `Double of NearestDistance.t
| `Enum of string
| `Map of
([> `String of PropertyMapKeyString.t ]
* [> `String of PropertyMapValueString.t ])
list
| `String of Uuid.t
| `Timestamp of Timestamp.t ])
list ]