Skip to content

geofenceIntersections

Subscription

Subscribes to changes in any GeofenceIntersection based on the given filter.

Response

Returns GeofenceIntersectionMessage

Arguments

NameTypeDescription
filterFilterGeofenceIntersectionMessageInput

Filter detections by unique identifier of the device, unique identifier of the geofence, tag, message state, etc.

Example

subscription geofenceIntersections(
$filter: FilterGeofenceIntersectionMessageInput
) {
geofenceIntersections(
filter: $filter
) {
message {
id
geofence {
id
name
labels
active
}
track {
id
modelId
tag
startTime
endTime
finished
metadata
}
startTime
endTime
}
state
}
}