Skip to main content

pamoja_geofence_update

Function pamoja_geofence_update 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pamoja_geofence_update( geofence: *mut PamojaGeofence, point: PamojaCoordinate, ) -> PamojaBoundary
Expand description

Feeds a fix to a geofence and reports where it sits, including a crossing.

§Returns

The boundary state for this fix, or PamojaBoundary::Outside if geofence is null.

§Safety

geofence must be a live handle from pamoja_geofence_new, or null.