Drawer. Check Health Async(UnifiedPosHealthCheckLevel) Method
Gets the device's health state asynchronously.
public: virtual IAsyncOperation<Platform::String ^> ^ CheckHealthAsync(UnifiedPosHealthCheckLevel level) = CheckHealthAsync;
/// [Windows.Foundation.Metadata.RemoteAsync] IAsyncOperation<winrt::hstring> CheckHealthAsync(UnifiedPosHealthCheckLevel level);
[Windows.Foundation.Metadata.RemoteAsync] public IAsyncOperation<string> CheckHealthAsync(UnifiedPosHealthCheckLevel level);
Public Function CheckHealthAsync (level As UnifiedPosHealthCheckLevel) As IAsyncOperation(Of String)
The specified health check level.
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.
This feature behaves identically to corresponding features in the other POS peripherals, and support for this operation is required by the UPOS standard.