Share via


HumanPresenceSensor.GetDeviceSelector Method

Definition

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

String

Platform::String

winrt::hstring

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.

Applies to

See also