Bagikan melalui


HumanPresenceSensor.FromIdAsync(String) Metode

Definisi

Secara asinkron mengambil referensi ke sensor kehadiran manusia yang terkait dengan ID perangkat yang disediakan.

public:
 static IAsyncOperation<HumanPresenceSensor ^> ^ FromIdAsync(Platform::String ^ sensorId);
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<HumanPresenceSensor> FromIdAsync(winrt::hstring const& sensorId);
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<HumanPresenceSensor> FromIdAsync(string sensorId);
function fromIdAsync(sensorId)
Public Shared Function FromIdAsync (sensorId As String) As IAsyncOperation(Of HumanPresenceSensor)

Parameter

sensorId
String

Platform::String

winrt::hstring

ID perangkat unik dari sensor kehadiran manusia.

Mengembalikan

Referensi ke sensor kehadiran manusia.

Atribut

Berlaku untuk