HingeAngleSensor.GetRelatedToAdjacentPanelsAsync(String, String) 方法

定义

异步检索两个相邻显示面板的铰链角度传感器。

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)

参数

firstPanelId
String

Platform::String

winrt::hstring

其中一个铰链面板的设备 ID。

secondPanelId
String

Platform::String

winrt::hstring

另一个铰链面板的设备 ID。

返回

此方法完成后,它将返回对 HingeAngleSensor 的引用。

属性

适用于