Table of Contents

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 BaseEvent

Holds the event that occurred.

Returns

bool
true
if the event was processed, or
false
if not.