HumanPresenceSensor.GetDeviceSelector 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
检索用于枚举可用人类存在传感器的 AQS) 字符串 (高级查询语法。
public:
static Platform::String ^ GetDeviceSelector();
static winrt::hstring GetDeviceSelector();
public static string GetDeviceSelector();
function getDeviceSelector()
Public Shared Function GetDeviceSelector () As String
返回
用于枚举可用的人类存在传感器的 AQS 字符串。
注解
应用可以将 AQS 字符串传递给 DeviceInformation.FindAllAsync ,以查找系统上的所有人类存在传感器。