Public listener interface for EyeControl events.
Interface for receiving EyeControl events.
Definition EyeEventListener.h:36
void AddListenerOnComplete(void(*onComplete)(uint16_t))
Register a static callback invoked when an eye action/animation completes.
void RemoveListener(EyeEventListener *observer)
Unregister a previously added EyeEventListener.
void AddListenerOnStart(void(*onStart)(uint16_t))
Register a static callback invoked when an eye action/animation starts.
void AddListener(EyeEventListener *observer, bool priority=false)
Register an EyeEventListener to receive events.
void RemoveListenerOnStart(void(*onStart)(uint16_t))
Unregister a previously added start callback.
void RemoveListenerOnAbort(void(*onAbort)(uint16_t))
Unregister a previously added abort callback.
void AddListenerOnAbort(void(*onAbort)(uint16_t))
Register a static callback invoked when an eye action/animation is aborted.
void RemoveListenerOnComplete(void(*onComplete)(uint16_t))
Unregister a previously added complete callback.