Initializer

init(placemark:event:)

Initializes the event trigger with the specified location-based information.

Declaration

init(placemark: CLPlacemark, event: INSpatialEvent)

Parameters

placemark

The location for which events are triggered.

event

A constant indicating whether events are delivered when arriving or leaving the specified location.

Return Value

An initialized event trigger object or nil if the object could not be created.