ISpiProvider
ISpiProvider
ISpiProvider
ISpiProvider
Interface
Definition
Represents actions common to SPI controller providers.
public : interface ISpiProviderpublic interface ISpiProviderPublic Interface ISpiProvider// You can use this interface in JavaScript.
- Attributes
Windows 10 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)
|
Methods
GetControllersAsync() GetControllersAsync() GetControllersAsync() GetControllersAsync()
Gets all the SPI controllers on the system for the provider.
public : IAsyncOperation<IVectorView<ISpiControllerProvider>> GetControllersAsync()public IAsyncOperation<IReadOnlyList<ISpiControllerProvider>> GetControllersAsync()Public Function GetControllersAsync() As IAsyncOperation( Of IReadOnlyListISpiControllerProvider )// You can use this method in JavaScript.
Returns
IAsyncOperation<IVectorView<ISpiControllerProvider>>
IAsyncOperation<IReadOnlyList<ISpiControllerProvider>>
IAsyncOperation<IReadOnlyList<ISpiControllerProvider>>
IAsyncOperation<IReadOnlyList<ISpiControllerProvider>>
When the method completes successfully, it returns a list of values that represent the available SPI controllers on the system.