GpioController.GetDefaultAsync GpioController.GetDefaultAsync GpioController.GetDefaultAsync GpioController.GetDefaultAsync GpioController.GetDefaultAsync Method

Definition

Gets the default general-purpose I/O (GPIO) controller for the system.

public : static IAsyncOperation<GpioController> GetDefaultAsync()
static IAsyncOperation<GpioController> GetDefaultAsync() const;
public static IAsyncOperation<GpioController> GetDefaultAsync()
Public Shared Function GetDefaultAsync() As IAsyncOperation(Of GpioController)
Windows.Devices.Gpio.GpioController.getDefaultAsync().done( /* Your success and error handlers */ );

Returns

The default GPIO controller for the system, or null if the system has no GPIO controller.

Additional features and requirements

Device family
Windows IoT Extension SDK (introduced v10.0.10586.0) Windows 10 Anniversary Edition (introduced v10.0.14393.0)
API contract
Windows.Devices.DevicesLowLevelContract (introduced v2)