Share via


GpioPinProviderValueChangedEventArgs Class

Definition

Provides information about the IGpioPinProvider.ValueChanged event.

public ref class GpioPinProviderValueChangedEventArgs sealed
/// [Windows.Foundation.Metadata.Activatable(Windows.Devices.Gpio.Provider.IGpioPinProviderValueChangedEventArgsFactory, 131072, "Windows.Devices.DevicesLowLevelContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Devices.DevicesLowLevelContract, 131072)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class GpioPinProviderValueChangedEventArgs final
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Devices.Gpio.Provider.IGpioPinProviderValueChangedEventArgsFactory), 131072, "Windows.Devices.DevicesLowLevelContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Devices.DevicesLowLevelContract), 131072)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class GpioPinProviderValueChangedEventArgs
function GpioPinProviderValueChangedEventArgs(edge)
Public NotInheritable Class GpioPinProviderValueChangedEventArgs
Inheritance
Object Platform::Object IInspectable GpioPinProviderValueChangedEventArgs
Attributes

Windows requirements

Device family
Windows IoT Extension SDK (introduced in 10.0.10586.0)
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Devices.DevicesLowLevelContract (introduced in v2.0)

Constructors

GpioPinProviderValueChangedEventArgs(ProviderGpioPinEdge)

Contructs the GpioPinProviderValueChangedEventArgs class with the specified edge value.

Properties

Edge

Gets the value the pin has changed to.

Applies to