C# Class Microsoft.IoT.Devices.Input.Switch

An implementation of the ISwitch interface that uses a single GPIO pin.
Inheritance: ISwitch, IDisposable
显示文件 Open project: jbienzms/iot-devices

Private Properties

Property Type Description
EnsureInitialized void
Pin_ValueChanged void

Public Methods

Method Description
Dispose ( ) : void
Switch ( ) : System

Initializes a new Switch instance.

Private Methods

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

Method Details

Dispose() public method

public Dispose ( ) : void
return void

Switch() public method

Initializes a new Switch instance.
public Switch ( ) : System
return System