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>
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for