HumanPresenceSettings.GetSupportedFeaturesForSensorIdAsync(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Asynchronously retrieves the features supported by the specified human presence sensor.
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)
Parameters
- sensorId
-
String
Platform::String
winrt::hstring
The unique ID of the human presence sensor.
Returns
The asynchronous results of the operation. Use this to determine when the async call is complete.
- Attributes
Applies to
See also
- <xref:Windows.Devices.Sensors.HumanPresenceSettings.GetSupportedFeaturesForSensorId(System.String)T%3aWindows.Devices.Sensors.HumanPresenceFeatures>