HumanPresenceSettings.GetSupportedFeaturesForSensorIdAsync(String) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
以非同步方式擷取指定人類存在感應器所支援的功能。
public:
static IAsyncOperation<HumanPresenceFeatures ^> ^ GetSupportedFeaturesForSensorIdAsync(Platform::String ^ sensorId);
/// [Windows.Foundation.Metadata.RemoteAsync]
static IAsyncOperation<HumanPresenceFeatures> GetSupportedFeaturesForSensorIdAsync(winrt::hstring const& sensorId);
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<HumanPresenceFeatures> GetSupportedFeaturesForSensorIdAsync(string sensorId);
function getSupportedFeaturesForSensorIdAsync(sensorId)
Public Shared Function GetSupportedFeaturesForSensorIdAsync (sensorId As String) As IAsyncOperation(Of HumanPresenceFeatures)
參數
- sensorId
-
String
Platform::String
winrt::hstring
人類存在感應器的唯一識別碼。
傳回
作業的非同步結果。 使用此專案來判斷非同步呼叫何時完成。
- 屬性
適用於
另請參閱
- <xref:Windows.Devices.Sensors.HumanPresenceSettings.GetSupportedFeaturesForSensorId(System.String)T%3aWindows.Devices.Sensors.HumanPresenceFeatures>