@protocol ESTTriggerManagerDelegate <NSObject>
ESTTriggerManagerDelegate protocol defines the delegate methods used to receive trigger state change events from an
<ESTTriggerManager> object. Trigger manager engine allows to introduce higher level of abstraction and let developer focus on the acctual logic their application should follow. Each trigger is defined by set of rules that should be fulfilled to change make trigger state to positive. Change of trigger state is reported using
<[ESTTriggerManagerDelegate triggerManager:triggerChangedState:]> method of your
<delegate>. Out of the box trigger manager supports rules related to nearable proximity, motion and orientation, ambient nearable temperature as well as time and date.
In addition you can create your own rule definition related to parameters you are interested in (eg. weather information, GPS postion). To create new rule just create class that inherits from
Informs delegate object about change for patricular trigger state (fullfiled or not).
- (void)triggerManager:(nonnull ESTTriggerManager *)manager triggerChangedState:(nonnull ESTTrigger *)trigger;
The trigger manager object reporting the event.
trigger that has change its state (ESTTrigger object contains current state in state property).