Partilhar via


HingeAngleSensor.GetRelatedToAdjacentPanelsAsync(String, String) Método

Definição

Recupera de forma assíncrona um sensor de ângulo de dobradiça para dois painéis de exibição adjacentes.

public:
 static IAsyncOperation<HingeAngleSensor ^> ^ GetRelatedToAdjacentPanelsAsync(Platform::String ^ firstPanelId, Platform::String ^ secondPanelId);
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<HingeAngleSensor> GetRelatedToAdjacentPanelsAsync(winrt::hstring const& firstPanelId, winrt::hstring const& secondPanelId);
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<HingeAngleSensor> GetRelatedToAdjacentPanelsAsync(string firstPanelId, string secondPanelId);
function getRelatedToAdjacentPanelsAsync(firstPanelId, secondPanelId)
Public Shared Function GetRelatedToAdjacentPanelsAsync (firstPanelId As String, secondPanelId As String) As IAsyncOperation(Of HingeAngleSensor)

Parâmetros

firstPanelId
String

Platform::String

winrt::hstring

A ID do dispositivo de um dos painéis articulados.

secondPanelId
String

Platform::String

winrt::hstring

A ID do dispositivo do outro painel articulado.

Retornos

Quando esse método é concluído, ele retorna uma referência a um HingeAngleSensor.

Atributos

Aplica-se a