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

人类存在传感器的唯一 ID。

返回

操作的异步结果。 用于确定异步调用何时完成。

属性

适用于

另请参阅

  • <xref:Windows.Devices.Sensors.HumanPresenceSettings.GetSupportedFeaturesForSensorId(System.String)T%3aWindows.Devices.Sensors.HumanPresenceFeatures>