-api-id | -api-type |
---|---|
M:Windows.Devices.I2c.I2cDevice.GetDeviceSelector(System.String) |
winrt method |
Retrieves an Advanced Query Syntax (AQS) string for the inter-integrated circuit (I2 C) bus that has the specified friendly name. You can use this string with the DeviceInformation.FindAllAsync method to get a DeviceInformation object for that bus.
A friendly name for the particular I2 C bus on a particular hardware platform for which you want to get the AQS string.
An AQS string for the I2 C bus that friendlyName specifies, which you can use with the DeviceInformation.FindAllAsync method to get a DeviceInformation object for that bus.
GetDeviceSelector, DeviceInformation.FindAllAsync, I2cDevice.FromIdAsync, II2CDeviceStatics.GetDeviceSelector(String)