HingeAngleSensor.GetRelatedToAdjacentPanelsAsync(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for