HumanPresenceSensor.GetDeviceSelector 方法

定义

检索用于枚举可用人类存在传感器的 AQS) 字符串 (高级查询语法。

public:
 static Platform::String ^ GetDeviceSelector();
 static winrt::hstring GetDeviceSelector();
public static string GetDeviceSelector();
function getDeviceSelector()
Public Shared Function GetDeviceSelector () As String

返回

String

Platform::String

winrt::hstring

用于枚举可用的人类存在传感器的 AQS 字符串。

注解

应用可以将 AQS 字符串传递给 DeviceInformation.FindAllAsync ,以查找系统上的所有人类存在传感器。

适用于

另请参阅