Share via


HingeAngleSensor.GetRelatedToAdjacentPanelsAsync(String, String) Method

Definition

Asynchronously retrieves a hinge angle sensor for two adjacent display panels.

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)

Parameters

firstPanelId
String

Platform::String

winrt::hstring

The device Id of one of the hinged panels.

secondPanelId
String

Platform::String

winrt::hstring

The device Id of the other hinged panel.

Returns

When this method completes, it returns a reference to a HingeAngleSensor.

Attributes

Applies to