HumanPresenceSensor.GetDeviceSelector Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves an Advanced Query Syntax (AQS) string used to enumerate the available human presence sensors.
public:
static Platform::String ^ GetDeviceSelector();
static winrt::hstring GetDeviceSelector();
public static string GetDeviceSelector();
function getDeviceSelector()
Public Shared Function GetDeviceSelector () As String
Returns
An AQS string used to enumerate the available human presence sensors.
Remarks
The app can pass the AQS string to DeviceInformation.FindAllAsync to find all human presence sensors on the system.