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

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

Private Properties

Свойство Type Description
Pin_ValueChanged void

Méthodes publiques

Méthode Description
Dispose ( ) : void
EnsureInitialized ( ) : void

Ensures that the helper has been initialized.

PushButtonHelper ( IPushButton owner ) : System

Initializes a new PushButtonHelper instance.

Private Methods

Méthode Description
Pin_ValueChanged ( Windows.Devices.Gpio.GpioPin sender, Windows.Devices.Gpio.GpioPinValueChangedEventArgs e ) : void

Method Details

Dispose() public méthode

public Dispose ( ) : void
Résultat void

EnsureInitialized() public méthode

Ensures that the helper has been initialized.
public EnsureInitialized ( ) : void
Résultat void

PushButtonHelper() public méthode

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