Dela via


HumanPresenceSensor.GetDefaultAsync Method

Definition

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

Applies to