Table of Contents

Delegate PinChangeEventHandler

Namespace
System.Device.Gpio
Assembly
System.Device.Gpio.dll

Delegate that defines the structure for callbacks when a pin value changed event occurs.

public delegate void PinChangeEventHandler(object sender, PinValueChangedEventArgs pinValueChangedEventArgs)

Parameters

sender object

The sender of the event.

pinValueChangedEventArgs PinValueChangedEventArgs

The pin value changed arguments from the event.

Extension Methods

Constructors

PinChangeEventHandler(object, IntPtr)

public PinChangeEventHandler(object @object, IntPtr method)

Parameters

object object
method IntPtr

Methods

BeginInvoke(object, PinValueChangedEventArgs, AsyncCallback, object)

public virtual IAsyncResult BeginInvoke(object sender, PinValueChangedEventArgs pinValueChangedEventArgs, AsyncCallback callback, object @object)

Parameters

sender object
pinValueChangedEventArgs PinValueChangedEventArgs
callback AsyncCallback
object object

Returns

IAsyncResult

EndInvoke(IAsyncResult)

public virtual void EndInvoke(IAsyncResult result)

Parameters

result IAsyncResult

Invoke(object, PinValueChangedEventArgs)

public virtual void Invoke(object sender, PinValueChangedEventArgs pinValueChangedEventArgs)

Parameters

sender object
pinValueChangedEventArgs PinValueChangedEventArgs