共用方式為


HumanPresenceSettings.GetSupportedFeaturesForSensorIdAsync(String) 方法

定義

以非同步方式擷取指定人類存在感應器所支援的功能。

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>