Compartilhar via


ActivitySensor.FromIdAsync(String) Método

Definição

Obtém de forma assíncrona o sensor de seu identificador.

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

Parâmetros

deviceId
String

Platform::String

winrt::hstring

O identificador do sensor

Retornos

Retorna o objeto ActivitySensor de seu identificador.

Atributos

Requisitos do Windows

Funcionalidades do aplicativo
activity

Aplica-se a