Interface IEventListener
- Namespace
- nanoFramework.Runtime.Events
- Assembly
- nanoFramework.Runtime.Events.dll
Provides an interface to use as the basis of event listeners.
public interface IEventListener
- Extension Methods
Methods
InitializeForEventSource()
Initializes an event listener so that it listens to events from a particular source.
void InitializeForEventSource()
OnEvent(BaseEvent)
Reacts to an event.
bool OnEvent(BaseEvent ev)
Parameters
ev
BaseEventHolds the event that occurred.
Returns
- bool
if the event was processed, ortrue
if not.false