ClaimedLineDisplay.CheckHealthAsync(UnifiedPosHealthCheckLevel) ClaimedLineDisplay.CheckHealthAsync(UnifiedPosHealthCheckLevel) ClaimedLineDisplay.CheckHealthAsync(UnifiedPosHealthCheckLevel) ClaimedLineDisplay.CheckHealthAsync(UnifiedPosHealthCheckLevel) ClaimedLineDisplay.CheckHealthAsync(UnifiedPosHealthCheckLevel) Method

Definition

Gets the device's health state asynchronously.

public : IAsyncOperation<Platform::String> CheckHealthAsync(UnifiedPosHealthCheckLevel level)
IAsyncOperation<winrt::hstring> CheckHealthAsync(UnifiedPosHealthCheckLevel level) const;
public IAsyncOperation<string> CheckHealthAsync(UnifiedPosHealthCheckLevel level)
Public Function CheckHealthAsync(level As UnifiedPosHealthCheckLevel) As IAsyncOperation(Of string)
Windows.Devices.PointOfService.ClaimedLineDisplay.checkHealthAsync(level).done( /* Your success and error handlers */ );

Parameters

Returns

This value is intended to be reflected in the app interface immediately so the user of the app can interpret it. For example, it will return “OK” as the health string if the device state is good.

Additional features and requirements

Device family
Windows 10 Fall Creators Update (introduced v10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v5)

Remarks

This feature behaves identically to corresponding features in the other POS peripherals, and support for this operation is required by the UPOS standard.