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 に渡して、システム上のすべての人間のプレゼンス センサーを見つけることができます。

適用対象

こちらもご覧ください