TwoPanelHingedDevicePosturePreview.GetCurrentPostureAsync 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.
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