C# Class Microsoft.IoT.DeviceHelpers.Input.PushButtonHelper

A helper class for implementing the IPushButton interface using a single GPIO pin.
Inheritance: IDisposable
Mostra file Open project: jbienzms/iot-devices Class Usage Examples

Private Properties

Property Type Description
Pin_ValueChanged void

Public Methods

Method Description
Dispose ( ) : void
EnsureInitialized ( ) : void

Ensures that the helper has been initialized.

PushButtonHelper ( IPushButton owner ) : System

Initializes a new PushButtonHelper instance.

Private Methods

Method Description
Pin_ValueChanged ( Windows.Devices.Gpio.GpioPin sender, Windows.Devices.Gpio.GpioPinValueChangedEventArgs e ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

EnsureInitialized() public method

Ensures that the helper has been initialized.
public EnsureInitialized ( ) : void
return void

PushButtonHelper() public method

Initializes a new PushButtonHelper instance.
public PushButtonHelper ( IPushButton owner ) : System
owner IPushButton /// The instance that owns this helper. ///
return System