forecastGeofenceEvents
inline suspend fun LocationClient.forecastGeofenceEvents(crossinline block: ForecastGeofenceEventsRequest.Builder.() -> Unit): ForecastGeofenceEventsResponse
Evaluates device positions against geofence geometries from a given geofence collection. The event forecasts 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.