HumanPresenceSensor.GetDefaultAsync 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 a reference to the default human presence sensor.
public:
static IAsyncOperation<HumanPresenceSensor ^> ^ GetDefaultAsync();
/// [Windows.Foundation.Metadata.RemoteAsync]
static IAsyncOperation<HumanPresenceSensor> GetDefaultAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<HumanPresenceSensor> GetDefaultAsync();
function getDefaultAsync()
Public Shared Function GetDefaultAsync () As IAsyncOperation(Of HumanPresenceSensor)
Returns
A reference to a human presence sensor.
- Attributes