Skip to content

GeofenceFilterInfo

export interface GeofenceFilterInfo {

Identifies the geofence trigger that LocationFilterEvent reports as rejected: the fence, the rejected transition (ENTER | EXIT), why it was rejected, and the trigger-vs-fence geometry when it was evaluated.


Members

action

action: string;

The rejected transition: "ENTER" | "EXIT".

dist

dist: number;

Trigger distance from the fence center (meters); -1 when not evaluated.

identifier

identifier: string;

Identifier of the geofence whose trigger was rejected.

outsideBy

outsideBy: number;

How far outside the fence boundary (plus margin) the trigger sat (meters); -1 when not evaluated.

radius

radius: number;

The fence radius (meters).

reason

reason: string;

Verdict detail, eg: "spurious EXIT (no path evidence of transit)".