TwoPanelHingedDevicePosturePreview.GetCurrentPostureAsync Method

Definition

Gets the current device posture.

public:
 virtual IAsyncOperation<TwoPanelHingedDevicePosturePreviewReading ^> ^ GetCurrentPostureAsync() = GetCurrentPostureAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<TwoPanelHingedDevicePosturePreviewReading> GetCurrentPostureAsync();
/// [Windows.Foundation.Metadata.RemoteAsync]
/// [Windows.Foundation.Metadata.Deprecated("TwoPanelHingedDevicePosturePreview is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 655360, "Windows.Foundation.UniversalApiContract")]
IAsyncOperation<TwoPanelHingedDevicePosturePreviewReading> GetCurrentPostureAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<TwoPanelHingedDevicePosturePreviewReading> GetCurrentPostureAsync();
[Windows.Foundation.Metadata.RemoteAsync]
[Windows.Foundation.Metadata.Deprecated("TwoPanelHingedDevicePosturePreview is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 655360, "Windows.Foundation.UniversalApiContract")]
public IAsyncOperation<TwoPanelHingedDevicePosturePreviewReading> GetCurrentPostureAsync();
function getCurrentPostureAsync()
Public Function GetCurrentPostureAsync () As IAsyncOperation(Of TwoPanelHingedDevicePosturePreviewReading)

Returns

A TwoPanelHingedDevicePosturePreviewReading representing the current posture.

Attributes

Applies to