| PushButtonHelper Class |
Namespace: Microsoft.IoT.DeviceHelpers.Input
The PushButtonHelper type exposes the following members.
| Name | Description | |
|---|---|---|
| PushButtonHelper |
Initializes a new PushButtonHelper instance.
|
| Name | Description | |
|---|---|---|
| ClickEvent |
Gets the click event for the push button.
| |
| ClickMode |
Gets or sets a value that indicates when the Click event occurs.
| |
| DebounceTimeout |
Gets or sets the amount of time in milliseconds that will be used to debounce the pushbutton.
| |
| IsPressed |
Gets a value that indicates if the button is pressed.
| |
| Pin |
Gets or sets the pin that the button is connected to.
| |
| PressedEvent |
Gets the pressed event for the push button.
| |
| PressedValue |
Gets or sets the GpioPinValue that indicates the button is pressed.
| |
| ReleasedEvent |
Gets the released event for the push button.
| |
| UsePullResistors |
Gets or sets a value that indicates if integrated pull up or pull
down resistors should be used to help maintain the state of the pin.
|
| Name | Description | |
|---|---|---|
| Dispose | Releases all resources used by the PushButtonHelper | |
| EnsureInitialized |
Ensures that the helper has been initialized.
| |
| Equals | (Inherited from Object.) | |
| GetHashCode | (Inherited from Object.) | |
| GetType | (Inherited from Object.) | |
| ToString | (Inherited from Object.) |